Skip to content

fix(web-console): handle timestamp_ns format in CSV imports#474

Merged
emrberk merged 7 commits intomainfrom
fix/timestamp_ns_import
Sep 25, 2025
Merged

fix(web-console): handle timestamp_ns format in CSV imports#474
emrberk merged 7 commits intomainfrom
fix/timestamp_ns_import

Conversation

@emrberk
Copy link
Collaborator

@emrberk emrberk commented Sep 23, 2025

No description provided.

@javier
Copy link

javier commented Sep 24, 2025

Ingestion works with nanos now, but I cannot override timestamp_ns to timestamp. I ingest via csv with the defaults, all good (no designated ts, no proper datatypes, but it inserts everything, which failed before). Now I want to override the schema, so I open the file again and click schema. I changed the data types, but I am feeling playful and even if I have nanos on the CSV, I want to cast to timestamp in micros, so I choose timestamp for the data type. The data is ingested, but the type is actually timestamp_ns, which was not what I asked. I can see this is passing the type to the backend as TIMESTAMP_NS.

Even if passed properly, the backend is also ignoring it (but if the table already exists, it ingest with the proper type), but the console should pass the desired datatype, rather than timestamp_ts

@emrberk emrberk requested a review from javier September 24, 2025 16:07
@emrberk emrberk merged commit 5dfa9b5 into main Sep 25, 2025
4 checks passed
@emrberk emrberk deleted the fix/timestamp_ns_import branch September 25, 2025 09:36
Vaibhav91one pushed a commit to Vaibhav91one/ui that referenced this pull request Oct 28, 2025
)

* fix(web-console): handle timestamp_ns format in CSV imports

* proxy imp in server-dist.js

* submodule

* let's type the clear statement directly

* change label to dataset pattern

* submodule
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

Successfully merging this pull request may close these issues.

2 participants