ykPrograWorld opened a new issue, #5819:
URL: https://github.com/apache/hudi/issues/5819

   **_Tips before filing an issue_**
   
   - Have you gone through our [FAQs](https://hudi.apache.org/learn/faq/)?
   - yes
   
   - 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.
   CREATE TABLE t23(
   >   uuid VARCHAR(20) PRIMARY KEY NOT ENFORCED,
   >   name VARCHAR(10)
   >   ) WITH (
   >   'connector' = 'hudi',
   >   'path' = 'hdfs://localhost:9000/user/data/hudi/t23',
   >   'table.type' = 'MERGE_ON_READ',
   >   'hive_sync.enable'= 'true',
   >   'hive_sync.mode'= 'hms',
   >   'hive_sync.metastore.uris'='thrift://localhost:9083',
   >   'hive_sync. jdbc_url'='jdbc:hive2://localhost:10000',
   >   'hive_sync.table'= 't23',
   >   'hive sync.db'= 'default',
   >   'hive_sync.username'= 'hive',
   >   'hive_sync.password'= 'hive',
   >   'hive sync.support_timestamp'='true'
   > );
   2.
   INSERT INTO t23 SELECT * FROM t3_kafka_sour;
   3. in hive
   SELECT * FROM t23_ro;
   
   
   **Expected behavior**
   
   t23_ro have data
   
   **Environment Description**
   
   * Hudi version :0.11.0
   
   * Spark version :
   
   * Hive version :2.3.9
   
   * Hadoop version :2.7.3
   
   * Storage (HDFS/S3/GCS..) :hdfs
   
   * Running on Docker? (yes/no) :no
   
   
   **Additional context**
   ```
   0: jdbc:hive2://localhost:10000> SELECT * FROM t23_ro;
   
+-----------------------------+------------------------------+----------------------------+--------------------------------+---------------------------+--------------+--------------+
   | t23_ro._hoodie_commit_time  | t23_ro._hoodie_commit_seqno  | 
t23_ro._hoodie_record_key  | t23_ro._hoodie_partition_path  | 
t23_ro._hoodie_file_name  | t23_ro.uuid  | t23_ro.name  |
   
+-----------------------------+------------------------------+----------------------------+--------------------------------+---------------------------+--------------+--------------+
   
+-----------------------------+------------------------------+----------------------------+--------------------------------+---------------------------+--------------+--------------+
   No rows selected (0.212 seconds)
   0: jdbc:hive2://localhost:10000> 
   ```
   
   
   **Stacktrace**
   
   ```there is no error but there is no data in hive```
   
   


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