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

Support forceHeader param for /imp endpoint in Import page UI #117

Closed
insmac opened this issue Mar 31, 2023 · 1 comment
Closed

Support forceHeader param for /imp endpoint in Import page UI #117

insmac opened this issue Mar 31, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request web-console Issues relevant to "web-console" package

Comments

@insmac
Copy link
Contributor

insmac commented Mar 31, 2023

Is your feature request related to a problem?

QuestDB tries to detect CSV's header automatically, but sometimes it fails - in that case two things happen:

  • column names are wrong (f0, f1, ...)
  • CSV header row is inserted as the first item in the table.

/imp REST endpoint, used beneath the hood to process the CSV file has an optional ?forceHeader=true param, that can be used to treat the first row in the file as headers at all times.

There is a very small H button (actually, looks more like a status symbol) that, when toggled, should set this param to true, but it's super hard to notice.

Describe the solution you'd like.

Add a checkbox in the UI that can be toggled on to force the first row as a header in case of problems.

@insmac insmac added enhancement New feature or request web-console Issues relevant to "web-console" package labels Mar 31, 2023
@insmac insmac self-assigned this Mar 31, 2023
@insmac
Copy link
Contributor Author

insmac commented Mar 31, 2023

Issue moved to the dedicated UI repository (https://github.com/questdb/ui/issues)

@insmac insmac closed this as not planned Won't fix, can't repro, duplicate, stale Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request web-console Issues relevant to "web-console" package
Projects
None yet
Development

No branches or pull requests

1 participant