apache / carbondata

High performance data store solution
carbondata.apache.org
Apache License 2.0
1.43k stars 704 forks source link

how to use MERGE INTO #4178

Open study-day opened 3 years ago

study-day commented 3 years ago

Support MERGE INTO SQL Syntax CarbonData now supports MERGE INTO SQL syntax along with the API support. This will help the users to write CDC job and merge job using SQL also now.

how to use MERGE INTO ? Please add in the use document

brijoobopanna commented 3 years ago

please check if below can help https://github.com/apache/carbondata/blob/master/examples/spark/src/main/scala/org/apache/carbondata/examples/CDCExample.scala

study-day commented 3 years ago

thanks ,Can I use sql to write merge into syntax?

brijoobopanna commented 3 years ago

yes plz check examples here examples/spark/src/main/scala/org/apache/carbondata/examples/DataMergeIntoExample.scala

Chizhiwen160 commented 1 year ago

Hshhh