You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The useNullableQuerySchema method has been added in the com.clickhouse.spark.ClickHouseTable class. However, the correct place for this override is in the com.clickhouse.spark.ClickHouseCatalog class because the org.apache.spark.sql.connector.catalog.TableCatalog interface already includes this method with the following default implementation:
Overriding the method in ClickHouseCatalog will ensure proper functionality when interacting with the catalog and avoid potential inconsistencies with the TableCatalog interface implementation.
Steps to Fix:
Move the useNullableQuerySchema method override from ClickHouseTable to ClickHouseCatalog.
Ensure the method implementation meets the requirements and returns appropriate values based on the context.
Update existing tests or add new ones to validate the method’s functionality in the ClickHouseCatalog class.
Expected Outcome: The useNullableQuerySchema method is correctly implemented in the ClickHouseCatalog class, aligning with the TableCatalog interface standards and providing the expected functionality.
The text was updated successfully, but these errors were encountered:
The
useNullableQuerySchema
method has been added in thecom.clickhouse.spark.ClickHouseTable
class. However, the correct place for this override is in thecom.clickhouse.spark.ClickHouseCatalog
class because theorg.apache.spark.sql.connector.catalog.TableCatalog
interface already includes this method with the following default implementation:Overriding the method in
ClickHouseCatalog
will ensure proper functionality when interacting with the catalog and avoid potential inconsistencies with theTableCatalog
interface implementation.Steps to Fix:
Expected Outcome: The useNullableQuerySchema method is correctly implemented in the ClickHouseCatalog class, aligning with the TableCatalog interface standards and providing the expected functionality.
The text was updated successfully, but these errors were encountered: