-
Notifications
You must be signed in to change notification settings - Fork 150
Open
Description
Environment
- OS version: MacOS 14
- JDK version: 17
- ClickHouse Server version: 23.10.6.60
- Spark version: 3.5.0
- Project dependencies
- com.clickhouse:clickhouse-jdbc:jar:0.6.3:compile
- com.github.housepower:clickhouse-integration-spark_2.12:jar:2.7.1:compile
- com.github.housepower:clickhouse-spark-runtime-3.4_2.12:jar:0.7.3:compile
Steps to reproduce
-
create table with type DateTime('Europe/Moscow')
CREATE TABLE IF NOT EXISTS default.foo
(
application_id String,
event_datetime DateTime('Europe/Moscow'),
event_receive_datetime DateTime('Europe/Moscow')
)
ENGINE = Log -
Try to read table with Spark datasource api v2
When execute this code spark throws TABLE OR VIEW NOT FOUND exception. When I debugging the code, I realized that the case condition is not satisfied. Link to source code where it happens
Although the type matches the regular expression. I'm not an expert in Scala. Help me understand why this happens. Sample code attached.
Metadata
Metadata
Assignees
Labels
No labels