Github user dongjoon-hyun commented on a diff in the pull request:
https://github.com/apache/spark/pull/16804#discussion_r99479616
--- Diff:
sql/hive/src/test/scala/org/apache/spark/sql/hive/orc/OrcSourceSuite.scala ---
@@ -162,6 +162,27 @@ abstract class OrcSuite extends QueryTest with
TestHiveSingleton with BeforeAndA
hiveClient.runSqlHive("DROP TABLE IF EXISTS orc_varchar")
}
}
+
+ test("read varchar column from orc tables created by hive") {
+ try {
+ // This is an ORC file with a single VARCHAR(10) column that's
created using Hive 1.2.1
--- End diff --
Hi, @hvanhovell .
Nit. It's three columns.
```
Structure for orc/orc_text_types.orc
File Version: 0.12 with HIVE_8732
Rows: 1
Compression: ZLIB
Compression size: 262144
Type: struct<_col0:string,_col1:char(10),_col2:varchar(10)>
```
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]