Support Questions

Find answers, ask questions, and share your expertise

csv to postgresql

avatar
New Contributor

How to create table from csv file 

3 REPLIES 3

avatar
New Contributor

column names from first line csv

avatar
Expert Contributor

Your csv is content of the flowfile?

Use PutDatabaseRecord and create CsvReader as Controller.

You dont need an Avro Schema if the column names of both are the same

avatar
New Contributor

my csv is file.csv

ok scheme dont need. is possible auto-create table with column names from first line csv?