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.
Environment
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.
java code.txt pom.txt