HyukjinKwon opened a new pull request, #429:
URL: https://github.com/apache/spark-connect-rust/pull/429

   ### What changes were proposed in this pull request?
   
   A follow-up of 
[SPARK-61249](https://issues.apache.org/jira/browse/SPARK-61249) (#427): 
`test_nanosecond_timestamps_are_not_collected_as_pyspark` in 
`python/tests/test_dropin_e2e.py` now turns on 
`spark.sql.timestampNanosTypes.enabled` for the session while it runs, and 
unsets it afterwards, back to the server's default.
   
   ### Why are the changes needed?
   
   The test creates `TIMESTAMP_NTZ(9)` and `TIMESTAMP_LTZ(7)` values, which 
need that conf. It is on by default only on a server under `SPARK_TESTING`, as 
CI's servers are, so the test passed in CI but failed against a server started 
without it: the SQL itself raised `[FEATURE_NOT_ENABLED] The feature 
Nanosecond-precision timestamp types is not enabled`.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No, test only.
   
   ### How was this patch tested?
   
   - The test, and the other `-k "nanosecond or ntz or timestamp"` live tests 
(7 passed), against a local Spark 4.3.0 server started without `SPARK_TESTING` 
(it failed there before this change with `FEATURE_NOT_ENABLED`) and against one 
under `SPARK_TESTING`; also under pytest 9.2.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Opus 5.5
   
   This pull request and its description were written by Isaac.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to