yyh2954360585 commented on issue #4885: URL: https://github.com/apache/kyuubi/issues/4885#issuecomment-1643258472
> > 一种可能性是胡迪持有错误的例子。`SparkSession` > > 这确实是可能的,我现在注意到 Hudi 初始化以获取 SparkSession 当前处于活动状态,然后可能是错误的。 > > org.apache.spark.sql.hudi.catalog.HoodieCatalog > > ```scala > val spark: SparkSession = SparkSession.active > ``` > > org.apache.spark.sql.hudi.catalog.HoodieCatalog#loadTable > > ```scala > val schemaEvolutionEnabled: Boolean = spark.sessionState.conf.getConfString(DataSourceReadOptions.SCHEMA_EVOLUTION_ENABLED.key, > DataSourceReadOptions.SCHEMA_EVOLUTION_ENABLED.defaultValue.toString).toBoolean > ``` You can understand it as Hudi obtaining an arbitrary SparkSession, which leads to the inability to access the corresponding configurations. In this light, it seems that neither party has a bug, but rather an issue arising from their interaction. It appears that resolving this problem could be quite challenging. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
