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

How do I prevent double quotes around date/timestamp values when downloading the API results as CSV? #249

Open
cyyeh opened this issue Jul 22, 2023 · 0 comments
Labels
needs-triage type/bug Something went wrong

Comments

@cyyeh
Copy link
Member

cyyeh commented Jul 22, 2023

Environment

  • Version:

    cli version: 0.6.0
    core version: 0.6.0
    build version: 0.6.0
    serve version: 0.6.0
    
  • OS: macOS

What's wrong?

image

There are double quotes in date related fields.

In plain text, this is what the CSV file looks like

col1,col2,col3,col4,col5
"TEMP","ANALYST","""2019-09-11 15:47:29.823 -0400""","""2022-08-15 05:24:06.726 -0400""",null

The values are stored as TIMESTAMP_TZ in Snowflake, and date values are stored as DATE. No transformation is done in how they are used within VulcanSQL

What's the correct behavior?

There should be no triple double-quotes around the date fields.

Note: this issue is raised by our user armaan in Discord.

Reproducing steps

@cyyeh cyyeh added type/bug Something went wrong needs-triage labels Jul 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage type/bug Something went wrong
Projects
None yet
Development

No branches or pull requests

1 participant