soumilshah1995 commented on issue #351:
URL: 
https://github.com/apache/incubator-xtable/issues/351#issuecomment-1977732640

   @sagarlakshmipathy  it looks like code worked finally 
   sagar told me remove partition path and after removing partition path it 
works 
   
   im curious to know why it does not work with partition path ?
   
   # Worked 
   ```
   spark-submit \
       --class org.apache.hudi.utilities.streamer.HoodieStreamer \
       --packages 'org.apache.hudi:hudi-spark3.4-bundle_2.12:0.14.0' \
       --properties-file spark-config.properties \
       --master 'local[*]' \
       --executor-memory 1g \
       --jars 
/Users/soumilshah/IdeaProjects/SparkProject/DeltaStreamer/new_jars/hudi-extensions-0.1.0-SNAPSHOT-bundled.jar,/Users/soumilshah/IdeaProjects/SparkProject/DeltaStreamer/jar/hudi-java-client-0.14.0.jar
 \
        
/Users/soumilshah/IdeaProjects/SparkProject/DeltaStreamer/jar/hudi-utilities-slim-bundle_2.12-0.14.0.jar
 \
       --table-type COPY_ON_WRITE \
       --target-base-path 
'file:///Users/soumilshah/IdeaProjects/SparkProject/DeltaStreamer/hudi/bronze_orders'
  \
       --target-table bronze_orders \
       --op UPSERT \
       --enable-sync \
       --sync-tool-classes 'io.onetable.hudi.sync.OneTableSyncTool' \
       --source-limit 4000000 \
       --source-ordering-field ts \
       --source-class org.apache.hudi.utilities.sources.CsvDFSSource \
       --hoodie-conf 'hoodie.datasource.write.recordkey.field=order_id' \
       --hoodie-conf 'hoodie.datasource.write.precombine.field=ts' \
       --hoodie-conf 
'hoodie.streamer.source.dfs.root=file://///Users/soumilshah/IdeaProjects/SparkProject/DeltaStreamer/sampledata/orders'
 \
       --hoodie-conf 'hoodie.deltastreamer.csv.header=true' \
       --hoodie-conf 'hoodie.deltastreamer.csv.sep=\t' \
       --hoodie-conf 'hoodie.onetable.formats.to.sync=DELTA' \
       --hoodie-conf 'hoodie.onetable.target.metadata.retention.hr=168'
   ```
   
   
![image](https://github.com/apache/incubator-xtable/assets/39345855/ead56bf2-c02f-4e07-a468-264856fc1341)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@xtable.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to