Re: Alter table using Thrift client

2018-07-12 Thread Sylvester Steele
Hi Peter, Here is what I see: mvn dependency:build-classpath | tr : "\n" | grep hive /some-path/.m2/repository/org/apache/hive/hive-metastore/3.0.0/hive-metastore-3.0.0.jar /some-path/.m2/repository/org/apache/hive/hive-serde/3.0.0/hive-serde-3.0.0.jar /some-path/.m2/repository/org/apache/hive/

Hive Row number Use case

2018-07-12 Thread Anup Tiwari
Hi All, We have a use case where we want to assign a row number to a table based on 3 column ( uid, update_date, flag) i.e. if value of any of the column gets changed, we want to reset this number. Please find below sample input data and expected output data. Also please note that we have tried r

Re: Alter table using Thrift client

2018-07-12 Thread Peter Vary
Hi Sylvester, I modified a random unit test (TestHiveMetaStoreTimeout.java) with client, and added these lines: client.setMetaConf("metastore.disallow.incompatible.col.type.changes", "false"); client.setMetaConf("hive.metastore.disallow.incompatible.col.type.changes", "false"); The unit test ru