Github user HyukjinKwon commented on a diff in the pull request:
https://github.com/apache/spark/pull/16586#discussion_r96554333
--- Diff:
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveQuerySuite.scala
---
@@ -461,7 +461,8 @@ class HiveQuerySuite extends HiveComparisonTest with
SQLTestUtils with BeforeAnd
|('serialization.last.column.takes.rest'='true') USING 'cat' AS
(tKey, tValue)
|ROW FORMAT SERDE
'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe'
|WITH SERDEPROPERTIES
('serialization.last.column.takes.rest'='true') FROM src;
- """.stripMargin.replaceAll(System.lineSeparator(), " "))
+ """.stripMargin.replaceAll(System.lineSeparator(), " "),
+ skip = !TestUtils.testCommandAvailable("/bin/bash"))
--- End diff --
Script transformation such as `USING 'cat'` requires [a hard-coded
`/bin/bash`](https://github.com/apache/spark/blob/21c7539a5274a7e77686d17a6261d56592b85c2d/sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/ScriptTransformation.scala#L70)
which seems missing or differently located on Windows (with/without Cygwin).
I will add a single de-duplicated comment at the top (there are many
instances of it) if I happens to push more commits!
---
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]