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

Use correct value for partition_values argument in drop_stats sample #18403

Merged
merged 1 commit into from
Jul 25, 2023

Conversation

findinpath
Copy link
Contributor

Description

Correct the sample call for drop_stats

The table example.web.page_views has a composed partition key, reason why we need ARRAY[ARRAY[varchar, varchar]] type for partition_values parameter in the drop_stats call.

CREATE TABLE example.web.page_views (
view_time TIMESTAMP,
user_id BIGINT,
page_url VARCHAR,
ds DATE,
country VARCHAR
)
WITH (
format = 'ORC',
partitioned_by = ARRAY['ds', 'country'],
bucketed_by = ARRAY['user_id'],
bucket_count = 50
)

Additional context and related issues

Release notes

(x) This is not user-visible or docs only and no release notes are required.
( ) Release notes are required, please propose a release note for me.
( ) Release notes are required, with the following suggested text:

# Section
* Fix some things. ({issue}`issuenumber`)

@ebyhr ebyhr merged commit dae6e0a into trinodb:master Jul 25, 2023
@github-actions github-actions bot added this to the 423 milestone Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants