-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support String to Decimal 128 [databricks] (#4172)
* Add support for string->decimal128 Signed-off-by: Raza Jafri <rjafri@nvidia.com> * Added test for casting decimal 128 to string Signed-off-by: Raza Jafri <rjafri@nvidia.com> * added method for enabling/disabling negative decimal support Signed-off-by: Raza Jafri <rjafri@nvidia.com> * addressed review comments Signed-off-by: Raza Jafri <rjafri@nvidia.com> * refactored method to parent class Signed-off-by: Raza Jafri <rjafri@nvidia.com> * we should test the op on cpu and gpu if pre spark311 Signed-off-by: Raza Jafri <rjafri@nvidia.com> * override the right method for databricks Signed-off-by: Raza Jafri <rjafri@nvidia.com> * addressed review comments Signed-off-by: Raza Jafri <rjafri@nvidia.com> * addressed review comments Signed-off-by: Raza Jafri <rjafri@nvidia.com> * only test negative scale decimal if Spark version < 3.1.1 Signed-off-by: Raza Jafri <rjafri@nvidia.com> * fixed the precedence of the predicates Signed-off-by: Raza Jafri <rjafri@nvidia.com> * Don't skip the test for spark 3.3.0+ Signed-off-by: Raza Jafri <rjafri@nvidia.com> * updated message if the test is skipped Signed-off-by: Raza Jafri <rjafri@nvidia.com> * added shim method and removed the comment Signed-off-by: Raza Jafri <rjafri@nvidia.com> * configs.md check in Signed-off-by: Raza Jafri <rjafri@nvidia.com> * updated copyright Signed-off-by: Raza Jafri <rjafri@nvidia.com> * remove decimal 128 from unsupported types Signed-off-by: Raza Jafri <rjafri@nvidia.com> Co-authored-by: Raza Jafri <rjafri@nvidia.com>
- Loading branch information
Showing
13 changed files
with
82 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.