linkedin/coral

getException "java.lang.NoSuchFieldError:RULE_SET"

xiaowuzi010599 opened this issue · 1 comments

my code like:

com.linkedin.coral
coral-trino
2.0.153

hiveConf = new HiveConf();
hiveConf.set("hive.metastore.uris", "thrift://my metastore ip:9083");
HiveMetaStoreClient metaStoreClient = new HiveMetaStoreClient(hiveConf);
HiveMscAdapter hiveMscAdapteri = new HiveMscAdapter(metaStoreClient);
String sql = "xxxxxx";
RelNode relNode = hiveToRelConverter
.convertSql(sql);
RelToTrinoConverter relToTrinoConverter = new RelToTrinoConverter();
String expandedSql = relToTrinoConverter.convert(relNode);

but i get this exception
impicture_20230601_111728
what should i do ?my metastore version is 2.3.7

"HiveToRelConverter hiveToRelConverter = new HiveToRelConverter(hiveMscAdapteri )" caused an exception