明明已经配置了TiCatalog,依然报错:TiSpark must work with TiCatalog. Please add TiCatalog in spark conf
以下是spark-defaults.conf里的配置:
spark.sql.extensions org.apache.spark.sql.TiExtensions
spark.tispark.pd.addresses 10.0.44.85:2379,10.0.44.86:2379,10.0.44.87:2379
spark.sql.catalog.tidb_catalog org.apache.spark.sql.catalyst.catalog.TiCatalog
spark.sql.catalog.tidb_catalog.pd.addresses 10.0.44.85:2379,10.0.44.86:2379,10.0.44.87:2379