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

feat: process table columns with GENERATED ALWAYS for partition_data_id() and partition_data_time() #723

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

waitingsong
Copy link

@waitingsong waitingsong commented Dec 22, 2024

columns with GENERATED ALWAYS and can not ignored by param p_ignored_columns, eg. PK
workaround:
insert OVERRIDING SYSTEM VALUE string into the sql if there is column having def GENERATED ALWAYS excepting p_ignored_columns.

…id() and partition_data_time()

columns with GENERATED ALWAYS and can not ignored by param `p_ignored_columns`, eg. PK
p_ignored_columns text[] DEFAULT NULL
) RETURNS boolean AS $$
DECLARE
identity_columns_count int;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Appreciate this PR and will definitely look at getting it merged in when possible. Would you mind using the conventions I have in the other functions for parameter (prefix with p_) and variable names (prefix with v_).

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

Successfully merging this pull request may close these issues.

2 participants