Details
-
Improvement
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
1.5.0
-
Important
Description
val carbon = SparkSession.builder().config(sc.getConf).getOrCreateCarbonSession("");
if (storePath != null)
{ carbonProperties.addProperty(CarbonCommonConstants.STORE_LOCATION, storePath) // In case if it is in carbon.properties for backward compatible }else if (carbonProperties.getProperty(CarbonCommonConstants.STORE_LOCATION) == null)
{ carbonProperties.addProperty(CarbonCommonConstants.STORE_LOCATION, session.sessionState.conf.warehousePath) }explain:
The getOrCreateCarbonSession method storePath parameter only checks for null,Causes the data store path to be an empty string and no exception is reported.Results in no results for the final select data.
Please see the attachment for examples
Attachments
Attachments
Issue Links
- is a child of
-
CARBONDATA-3125 Find minor bug or raise some small requirements/features, and then implement them
- Open
- links to