0

I tried executing the query below

"INSERT INTO " + schema + "." + fileName+"  '(' id,name ')' VALUES (3,'abc')") 

I am not sure whether Calcite supports UPSERT or not.

But I referred to the reference which shows different queries.

If it's not possible using Apache Calcite, then please let me know what other libraries I can use to perform UPSERT into a CSV file.

Michael Mior
  • 28,107
  • 9
  • 89
  • 113
kavyansh
  • 80
  • 7

1 Answers1

0

Calcite doesn't currently support executing UPSERT statements. There has been recent discussion of this on the project mailing list so it's possible this will be supported in the future.

Michael Mior
  • 28,107
  • 9
  • 89
  • 113