Skip to content

Commit

Permalink
Update SparkSqlParserSuite.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
AngersZhuuuu committed Sep 4, 2020
1 parent dbb4d04 commit 2b8912e
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -352,12 +352,13 @@ class SparkSqlParserSuite extends AnalysisTest {
|FROM testData
""".stripMargin,
ScriptTransformation(
Seq('a, 'b, 'c),
Seq(UnresolvedStar(None)),
"cat",
Seq(AttributeReference("a", StringType)(),
AttributeReference("b", StringType)(),
AttributeReference("c", StringType)()),
UnresolvedRelation(TableIdentifier("testData")),
Project(Seq('a, 'b, 'c),
UnresolvedRelation(TableIdentifier("testData"))),
ScriptInputOutputSchema(
Seq(("TOK_TABLEROWFORMATFIELD", ","),
("TOK_TABLEROWFORMATCOLLITEMS", "#"),
Expand Down

0 comments on commit 2b8912e

Please sign in to comment.