javierivanov commented on a change in pull request #26698: [SPARK-29685][SQL]
Adds format to the spark-sql output like its implemented by Dataset showString
URL: https://github.com/apache/spark/pull/26698#discussion_r352131743
##########
File path:
sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/CliSuite.scala
##########
@@ -387,9 +388,9 @@ class CliSuite extends SparkFunSuite with
BeforeAndAfterAll with Logging {
test("SPARK-26321 Should not split semicolon within quoted string literals")
{
runCliWithin(3.minute)(
- """select 'Test1', "^;^";""" -> "Test1\t^;^",
- """select 'Test2', "\";";""" -> "Test2\t\";",
- """select 'Test3', "\';";""" -> "Test3\t';",
+ """select 'Test1', "^;^";""" -> "Test1|^;^",
+ """select 'Test2', "\";";""" -> "Test2| \";",
+ """select 'Test3', "\';";""" -> "Test3| ';",
Review comment:
Do you mean the extra space? the minimun col width is 3
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]