Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHOENIX-7458 : Create new SYSTEM tables for tracking CDC Stream metadata #2025

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

palashc
Copy link
Contributor

@palashc palashc commented Nov 9, 2024

No description provided.

PARTITION_ID + " VARCHAR NOT NULL," +
// Non-PK columns
PARENT_PARTITION_ID + " VARCHAR," +
PARTITION_START_TIME + " BIGINT," +
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@virajjasani Does BIGINT make sense for start/end time since we can use (region_id) which is timestamp that we plan to use as sequence number? Or does it have to be Date as per the design doc?

Copy link
Contributor

@virajjasani virajjasani Nov 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, in this case we can use LONG directly instead of DATE. Timestamp value (regionId) is anyways long.

Copy link
Contributor

@virajjasani virajjasani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good otherwise

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants