This is an automated email from the ASF dual-hosted git repository.
ajantha pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/carbondata.git
The following commit(s) were added to refs/heads/master by this push:
new ca52847 [CARBONDATA-3588] Table id taken as key generated from table
path for non-transactional table
ca52847 is described below
commit ca528471bf8256ad9d10fa8d26403651843b7106
Author: Vikram Ahuja <[email protected]>
AuthorDate: Mon Nov 18 11:56:37 2019 +0530
[CARBONDATA-3588] Table id taken as key generated from table path for
non-transactional table
Modification reason: Show cache command on table with index server
enabled displays the index size incorrectly for table that was created
with index server disabled
Modification content: In case of non transactional table, the table id
is now taken as the key generated from the table path
This closes #3467
---
.../java/org/apache/carbondata/core/datamap/DataMapStoreManager.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/core/src/main/java/org/apache/carbondata/core/datamap/DataMapStoreManager.java
b/core/src/main/java/org/apache/carbondata/core/datamap/DataMapStoreManager.java
index 468dc55..78c3290 100644
---
a/core/src/main/java/org/apache/carbondata/core/datamap/DataMapStoreManager.java
+++
b/core/src/main/java/org/apache/carbondata/core/datamap/DataMapStoreManager.java
@@ -329,7 +329,7 @@ public final class DataMapStoreManager {
String tableId =
table.getAbsoluteTableIdentifier().getCarbonTableIdentifier().getTableId();
List<TableDataMap> tableIndices = allDataMaps.get(table.getTableId());
- if (tableIndices == null) {
+ if (tableIndices == null && !table.isTransactionalTable()) {
String keyUsingTablePath = getKeyUsingTablePath(table.getTablePath());
if (keyUsingTablePath != null) {
tableId = keyUsingTablePath;