Skip to content
Closed
Prev Previous commit
Update TCLIService.thrift
  • Loading branch information
AngersZhuuuu committed Oct 27, 2019
commit 6f7d48a987fd0cabef7e0cd4ee8af54197d66eaa
4 changes: 2 additions & 2 deletions sql/thriftserver/if/TCLIService.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
// * Service names begin with the letter "T", use a capital letter for each
// new word (with no underscores), and end with the word "Service".

namespace java org.apache.spark.service.rpc.thrift
namespace cpp apache.spark.service.rpc.thrift
namespace java org.apache.spark.sql.thriftserver.cli.thrift
namespace cpp apache.spark.sql.thriftserver.cli.thrift

// List of protocol versions. A new token should be
// added to the end of this list every time a change is made.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@juliuszsompolski Ok with this package name?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

New code in https://github.com/AngersZhuuuu/spark/tree/SPARK-29018-V11-STEP2

Current change list:

  1. Impelemnt Type in scala since spark con't support all type of hive
  2. Implement Service/AbstractService prepare for remove hive conf in future
  3. Construct RowSet with StructType and Row
  4. Implement HiveAuthFactory since between 1.2.1/2.3.5, their delegation token managerment changed. Impelment on DelegationTokenMnagerment by scala
  5. MV tableTypeString from SparkMetadataOperationUtils to SparkMetadataOperation
  6. Since there are tableTypeString in SparkMetadataOperation remove ClassicTypeMapping, HiveTableTypeMapping, TableTypeMapping and TableTypeMappingFactory
  7. Implement all operation for spark since it execute in different way
  8. Add new method GetQueryId, SetClientInfo for thrift version v11 in ThriftCLIService
  9. Add statementid to Operation for implement GetQueryId
  10. Remove GlobalHivercFileProcessor setFetchSize processGlobalInitFileetc

Still working on this.

Expand Down