Skip to content

Conversation

@vitaliili-db
Copy link
Contributor

What changes were proposed in this pull request?

This PR removes extra curly bracket from debug string for Decimal type in SQL.

Why are the changes needed?

Typo in error messages of decimal overflow.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

By running updated test:

$ build/sbt "sql/testOnly org.apache.spark.sql.SQLQueryTestSuite -- -z decimalArithmeticOperations.sql"

@github-actions github-actions bot added the SQL label Apr 28, 2022
Copy link
Member

@yaooqinn yaooqinn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@HyukjinKwon
Copy link
Member

seems like some more tests should be fixed tho.

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@MaxGekk
Copy link
Member

MaxGekk commented May 4, 2022

+1, LGTM. Merging to master.
Thank you, @vli-databricks and all for review.

@MaxGekk MaxGekk closed this in 165ce4e May 4, 2022
@MaxGekk
Copy link
Member

MaxGekk commented May 4, 2022

@vli-databricks Could you backport the changes to branch-3.3 (the PR causes conflicts in 3.3 while merging), please.

vitaliili-db added a commit to vitaliili-db/spark that referenced this pull request May 4, 2022
This PR removes extra curly bracket from debug string for Decimal type in SQL.

Typo in error messages of decimal overflow.

No.

By running updated test:
```
$ build/sbt "sql/testOnly org.apache.spark.sql.SQLQueryTestSuite -- -z decimalArithmeticOperations.sql"
```

Closes apache#36397 from vli-databricks/SPARK-39060.

Authored-by: Vitalii Li <[email protected]>
Signed-off-by: Max Gekk <[email protected]>
vitaliili-db added a commit to vitaliili-db/spark that referenced this pull request May 5, 2022
This PR removes extra curly bracket from debug string for Decimal type in SQL.

Typo in error messages of decimal overflow.

No.

By running updated test:
```
$ build/sbt "sql/testOnly org.apache.spark.sql.SQLQueryTestSuite -- -z decimalArithmeticOperations.sql"
```

Closes apache#36397 from vli-databricks/SPARK-39060.

Authored-by: Vitalii Li <[email protected]>
Signed-off-by: Max Gekk <[email protected]>
vitaliili-db added a commit to vitaliili-db/spark that referenced this pull request May 5, 2022
This PR removes extra curly bracket from debug string for Decimal type in SQL.

Typo in error messages of decimal overflow.

No.

By running updated test:
```
$ build/sbt "sql/testOnly org.apache.spark.sql.SQLQueryTestSuite -- -z decimalArithmeticOperations.sql"
```

Closes apache#36397 from vli-databricks/SPARK-39060.

Authored-by: Vitalii Li <[email protected]>
Signed-off-by: Max Gekk <[email protected]>
vitaliili-db added a commit to vitaliili-db/spark that referenced this pull request May 5, 2022
This PR removes extra curly bracket from debug string for Decimal type in SQL.

Typo in error messages of decimal overflow.

No.

By running updated test:
```
$ build/sbt "sql/testOnly org.apache.spark.sql.SQLQueryTestSuite -- -z decimalArithmeticOperations.sql"
```

Closes apache#36397 from vli-databricks/SPARK-39060.

Authored-by: Vitalii Li <[email protected]>
Signed-off-by: Max Gekk <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants