TiSpark Error

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: TiSpark报错

| username: TiDBer_o0MXVuK4

Clearly, TiCatalog has already been configured, but the error still occurs: TiSpark must work with TiCatalog. Please add TiCatalog in spark conf.

Here is the configuration in 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
| username: 数据小黑 | Original post link

Could you please provide more information? What are the versions of Spark and TiSpark, what does the query SQL look like, and what is the runtime environment?

| username: WalterWj | Original post link

How do you use it? Have you used the catalog?