spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [spark] MaxGekk opened a new pull request #27179: [SPARK-30492][SQL] Eliminate deprecation warnings in ORC datasource
Date Sun, 12 Jan 2020 20:45:30 GMT
MaxGekk opened a new pull request #27179: [SPARK-30492][SQL] Eliminate deprecation warnings
in ORC datasource
URL: https://github.com/apache/spark/pull/27179
 
 
   ### What changes were proposed in this pull request?
   In the PR, I propose to avoid usage of `getTypes()` in the `SparkOrcNewRecordReader` constructor,
and replace it by `getSchema()`.
   
   ### Why are the changes needed?
   To eliminate compiler warnings, and highlight other warnings that could indicate about
real problems:
   ```
   Warning:(44, 13) java: getTypes() in org.apache.orc.Reader has been deprecated
   Warning:(47, 24) java: getTypes() in org.apache.orc.Reader has been deprecated
   ```
   
   ### Does this PR introduce any user-facing change?
   No
   
   ### How was this patch tested?
   By existing tests from the `org.apache.spark.sql.hive.orc` package like `HiveOrcQuerySuite`.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Mime
View raw message