[jira] [Created] (HIVE-23769) kafka-handler casting int to bool not work

2020-06-27 Thread Arman Yazdani (Jira)
Arman Yazdani created HIVE-23769:


 Summary: kafka-handler casting int to bool not work
 Key: HIVE-23769
 URL: https://issues.apache.org/jira/browse/HIVE-23769
 Project: Hive
  Issue Type: Bug
  Components: kafka integration
Affects Versions: 3.1.0
Reporter: Arman Yazdani


The hive kafka-handler casts all integer values to false forĀ {{JsonSerDe}} if 
field type is boolean.

for example if the value in kafka topic be "0" or "1", for both of them the 
select value of hive kafka-handler external table is false.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


??Hive Alter Table Add column at specified position??

2020-06-27 Thread ????????
Hi,all:


It seems that Hive can not alter table to add column atspecified position.
For instance,the Table A has c1,c2,c3 columns,and i want to add column c4 after 
c1,therefore,the table would be like c1,c4,c2,c3 instead of c1,c2,c3,c4.


Thanks.