-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SNAP-2818] trim the JOB_DESCRIPTION property in Spark jobs (#1227)
- previous changes set SparkContext.SPARK_JOB_DESCRIPTION property to the query string for SnappySession.sql executions but this can exceed 32K and property will fail in serialization, so trim it to 100 size with "..." continuation like done in SQL tab display - added large view test to ViewTest and enhanced it to accept a generic "String => DataFrame" closure so that the same can be used for scala tests for SnappySession as well as dunits for JDBC Statement.execute; added the same tests to DDLRoutingDUnitTest using this Note: the above test is unable the reproduce the original issue with CREATE VIEW but it does reproduce for a large query string - disallow CREATE INDEX creation on column tables without experimental-features property - clear catalog cache in shutdown to avoid its accidental use by subsequent tests
- Loading branch information
Sumedh Wale
authored
Dec 28, 2018
1 parent
8e08267
commit 9299a80
Showing
18 changed files
with
387 additions
and
241 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
Oops, something went wrong.