Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for spark.sql.datetime.java8API.enabled #125

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Aug 15, 2024

  1. support for spark.sql.datetime.java8API.enabled

    Motivation: when using connector with thrift server, any queries on data containing date/time types are crashing. It's caused by thrift server enabling `spark.sql.datetime.java8API.enabled` flag for all of its sessions.
    
    Supported JSR-310 types which are already supported by Spark SQL:
    - LocalDate
    - LocalDateTime
    - Instant
    Other types are causing Encoder to fail, so they won't work even if taken into account.
    
    As `spark.sql.datetime.java8API.enabled` is disabled by default, it shouldn't cause compatibility issues.
    VVBondarenko committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    aa9662f View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2024

  1. Configuration menu
    Copy the full SHA
    cd6fb2f View commit details
    Browse the repository at this point in the history