youngyangp opened a new issue #2700:
URL: https://github.com/apache/hudi/issues/2700


   **Describe the problem you faced**
   
   A clear and concise description of the problem.
   
   **To Reproduce**
   
   Steps to reproduce the behavior:
   
   1.hive tables just hava table schema fileds but hava not data in schema
      this is my code
   ``` 
   targetFrame.write.format("hudi")
         .option(RECORDKEY_FIELD_OPT_KEY, "id")
         .option(KEYGENERATOR_CLASS_OPT_KEY, 
"org.apache.hudi.keygen.SimpleKeyGenerator")
         .option(TABLE_NAME, TARGET_TABLE_NAME)
         .option(HIVE_TABLE_OPT_KEY, TARGET_TABLE_NAME+"_HIVE")
         .option(HIVE_SYNC_ENABLED_OPT_KEY, "true")
         .option(HIVE_URL_OPT_KEY, "jdbc:hive2://hiveserver:10000")
         .option(HIVE_PARTITION_EXTRACTOR_CLASS_OPT_KEY, 
"org.apache.hudi.hive.NonPartitionedExtractor")
         .option(PARTITIONPATH_FIELD_OPT_KEY, "")
         .mode(SaveMode.Append)
         .save(TARGET_SAVE_PATH)
   ```
   2.I find that hdfs folder is different than before
   ```
   --hudi
     --.hoodie
     --default
   ```
   the .parquet document and .hoodie_partition_metadata document is in default 
folder
   
   **Environment Description**
   
   * Hudi version : 0.7.0
   
   * Spark version : 2.4.4
   
   * Hive version :2.3.3
   
   * Hadoop version :2.8.4
   
   * Storage (HDFS/S3/GCS..) :HDFS
   
   * Running on Docker?   yes
   
   
   **Stacktrace**
   
   no the stacktrace of the error.
   
   


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to