Aleksandar Trajković created SPARK-60385:
--------------------------------------------

             Summary: Pass JDBCOptions to JdbcUtils.getSchema instead of 
individual timestamp flags
                 Key: SPARK-60385
                 URL: https://issues.apache.org/jira/browse/SPARK-60385
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 4.4.0
            Reporter: Aleksandar Trajković


JdbcUtils.getSchema and its private helper getCatalystType take isTimestampNTZ 
and preferTimestampNanos as separate boolean parameters. Every caller already 
holds a JDBCOptions and unpacks those two fields from it. Pass JDBCOptions 
instead, so new read options that affect type mapping don't keep widening the 
signature. No user-facing change. The column metadata keys that dialects read 
are unchanged.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to