andrewlaikh opened a new issue #5101:
URL: https://github.com/apache/hudi/issues/5101


   **_Tips before filing an issue_**
   
   - Have you gone through our [FAQs](https://hudi.apache.org/learn/faq/)?
   
   - Join the mailing list to engage in conversations and get faster support at 
[email protected].
   
   - If you have triaged this as a bug, then file an 
[issue](https://issues.apache.org/jira/projects/HUDI/issues) directly.
   
   **Describe the problem you faced**
   
   A clear and concise description of the problem.
   
   **To Reproduce**
   
   Steps to reproduce the behavior:
   
   1. Run a sample deltastreamer job and set 
`hoodie.datasource.hive_sync.partition_fields=` to empty 
   2. Check hive schema upon creation 
   
   **Expected behavior**
   
   
   A clear and concise description of what you expected to happen.
   
   Ideally, should be no blank partition string, similar to how when 
`hoodie.datasource.write.partitionpath.field=` is set to blank, no partition 
paths are created. Not sure if this is the intended behavior 
   
   **Environment Description**
   
   * Hudi version : 0.10.1
   
   * Spark version : 3.1.2
   
   * Hive version : 3.1.2
   
   * Hadoop version : 2.10
   
   * Storage (HDFS/S3/GCS..) : HDFS 
   
   * Running on Docker? (yes/no) : no
   
   
   **Additional context**
   
   Add any other context about the problem here.
   
   Hive creation result 
   
   ```
   _hoodie_commit_time  string                                      
   _hoodie_commit_seqno string                                      
   _hoodie_record_key   string                                      
   _hoodie_partition_path       string                                      
   _hoodie_file_name    string                                      
   _event               
struct<type:string,database:string,table:string,isddl:boolean,es:bigint>        
                    
   rowkey_id            bigint                                      
   ctime                bigint                                      
   flag                 bigint                                      
                        string                                      
                 
   # Partition Information               
   # col_name                   data_type               comment             
                        string                            
                        ```
   


-- 
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: [email protected]

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


Reply via email to