starrocks icon indicating copy to clipboard operation
starrocks copied to clipboard

StarRocks supports querying Hive tables with encrypted ORC file format

Open zxf216 opened this issue 1 year ago • 0 comments

Enhancement

  • Spark 2.4.x uses the Java version of the Apache OCR project to enable encryption and decryption of ORC format Hive tables.

  • StarRocks uses the C++ version of the Apache OCR project for reading and writing OCR files, but the C++ version does not implement encryption and decryption functionality. When performing ad-hoc analysis on Hive tables with encrypted columns, StarRocks is unable to query the Hive table. Therefore, modifications need to be made to StarRocks' Apache OCR module to support reading encrypted Hive table data in ORC format.

Here is a structural diagram:

zxf216 avatar May 17 '24 01:05 zxf216