Re: flink sql-client read hive orc table no result

Posted by Kurt Young on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/flink-sql-client-read-hive-orc-table-no-result-tp33759p33761.html

My guess is we haven't support hive bucket table yet.
cc Rui Li for confirmation.

Best,
Kurt


On Wed, Mar 18, 2020 at 5:19 PM [hidden email] <[hidden email]> wrote:
Hive table store as orc format: 
 CREATE  TABLE `robot_tr`(`robot_id` int,  `robot_time` bigint, `linear_velocity` double, `track_side_error` int) 
 partitioned by (warehouseid STRING) clustered by (robot_id) into 3 buckets 
 stored as orc tblproperties("transactional"='true');

Under hive client,  insert into one record and then select there will be the result to the console.

But under flink sql-client, when select * from  robot_tr, there's no result? 

Any insight on this?

Thanks,
Lei