0

According to the doc, I can import a txt-file with cmd "\w".import data
Question-1:
How can I directly import a file from a remote storage, S3 for example?
Question-2:
How can I import a csv file into CnosDB-table with mismatch header row?
For instance, i created a table with cmd

CREATE TABLE air (
   visibility DOUBLE,
   temperature DOUBLE,
   presssure DOUBLE,
   TAGS(station)
);

But I have a csv-file with header row "visibilities, tem, presssures". And I don't want to modify my csv-file.

I have searched in the doc. But it seems that there is no direct way to solve my problems.

learn_more
  • 145
  • 10

0 Answers0