Hyukjin Kwon created SPARK-42012:
------------------------------------

             Summary: Implement DataFrameReader.orc
                 Key: SPARK-42012
                 URL: https://issues.apache.org/jira/browse/SPARK-42012
             Project: Spark
          Issue Type: Sub-task
          Components: Connect
    Affects Versions: 3.4.0
            Reporter: Hyukjin Kwon


{code}

pyspark/sql/tests/test_datasources.py:114 
(DataSourcesParityTests.test_read_multiple_orc_file)
self = 
<pyspark.sql.tests.connect.test_parity_datasources.DataSourcesParityTests 
testMethod=test_read_multiple_orc_file>

    def test_read_multiple_orc_file(self):
>       df = self.spark.read.orc(
            [
                "python/test_support/sql/orc_partitioned/b=0/c=0",
                "python/test_support/sql/orc_partitioned/b=1/c=1",
            ]
        )

../test_datasources.py:116: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pyspark.sql.connect.readwriter.DataFrameReader object at 0x7fb170946b50>
args = (['python/test_support/sql/orc_partitioned/b=0/c=0', 
'python/test_support/sql/orc_partitioned/b=1/c=1'],)
kwargs = {}

    def orc(self, *args: Any, **kwargs: Any) -> None:
>       raise NotImplementedError("orc() is not implemented.")
E       NotImplementedError: orc() is not implemented.

../../connect/readwriter.py:228: NotImplementedError

{code}



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

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

Reply via email to