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

BUG: partition for incremental tables #77

Closed
barloc opened this issue Mar 22, 2023 · 1 comment
Closed

BUG: partition for incremental tables #77

barloc opened this issue Mar 22, 2023 · 1 comment

Comments

@barloc
Copy link
Contributor

barloc commented Mar 22, 2023

Hello.
When create incremental table I get such error:
Severity: ROLLBACK, Message: Partitioning not supported for temporary tables, Sqlstate: 0A000, Routine: alterTablePartition, File: /data/qb_workspaces/jenkins2/ReleaseBuilds/Hammermill/REL-10_1_1-x_hammermill/build/vertica/Commands/DDL.cpp, Line: 23522, Error Code: 4336, SQL: '/* {"app": "dbt", "dbt_version": "1.3.0", "profile_name": "vertica-dbt", "target_name": "dev", "node_id": "model._._requests"} */ create local temporary table "_requests__dbt_tmp" on commit preserve rows INCLUDE SCHEMA PRIVILEGES as ( select date_trunc(\'HOUR\', br.time) as balance_date , br.user_id as user_id , br.account_id as account_id , count(br.id) as dep_try_n from "docker"."public"."_requests" br where (date(br.time) in (\'1984-03-03\'::date ) ) group by 1,2,3 ) order by balance_date, user_id, account_id segmented BY hash(user_id) ALL NODES ; alter table "product_dtm_hourly_billing_requests__dbt_tmp" partition BY EXTRACT(YEAR FROM balance_date)*10000 + EXTRACT(MONTH FROM balance_date)*100 ;

@barloc
Copy link
Contributor Author

barloc commented Mar 22, 2023

Don't understand why.
When find then open again.

@barloc barloc closed this as not planned Won't fix, can't repro, duplicate, stale Mar 22, 2023
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

No branches or pull requests

1 participant