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

Insert fails when its a DateTime64 column with timezone #367

Closed
subkanthi opened this issue Nov 8, 2023 · 1 comment · Fixed by #366
Closed

Insert fails when its a DateTime64 column with timezone #367

subkanthi opened this issue Nov 8, 2023 · 1 comment · Fixed by #366
Assignees

Comments

@subkanthi
Copy link
Collaborator

subkanthi commented Nov 8, 2023

*** QUERY***insert into cm_task_detail_jc_db_from,db_to,_version,is_deleted from input('cm_task_detail_jc_ts_id UInt64,cm_task_id UInt64,cm_graph_id UInt64,Nullable(Date32),Nullable(Date32),settlement_date Nullable(Date32),description Nullable(String),db_from Nullable(DateTime64(6, 'UTC')),db_to Nullable(DateTime64(6, 'UTC')),_version UInt64,is_deleted UInt8')
@subkanthi subkanthi self-assigned this Nov 8, 2023
@IlyaTsoi
Copy link
Contributor

IlyaTsoi commented Nov 9, 2023

@subkanthi, what is the error message? Maybe the reason is that quotes must be escaped inside input('...') when specify timezone? I just have implemented such feature within INSERT and it works fine.

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