Github user dongjoon-hyun commented on the issue:

    https://github.com/apache/spark/pull/14638
  
    Do you mean to replace the current whole `TableReader.scala` which was 
introduced in SPARK-1251 ? I guessed Spark chose this direct access approach 
for the performance issue at that time.
    
    Yes. This option is targeting only `TextInputFormat`s. For non-file based 
hive tables like Orc/Parquet, this option is ignored.
    ```scala
    val isTextInputFormatTable = 
classOf[TextInputFormat].isAssignableFrom(hiveTable.getInputFormatClass)
    ```
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to