[GitHub] incubator-carbondata pull request #492: [CARBONDATA-440] Providing the updat...
Github user ManoharVanam commented on a diff in the pull request: https://github.com/apache/incubator-carbondata/pull/492#discussion_r94907888 --- Diff: core/src/main/java/org/apache/carbondata/core/carbon/path/CarbonTablePath.java --- @@ -316,57 +444,75 @@ public String getFactDir() { /** * gets updated timestamp information from given carbon data file name */ -public static String getUpdateTimeStamp(String carbonDataFileName) { - // Get the file name from path +public static String getTimeStampFromFileName(String carbonDataFileName) { + // Get the timestamp portion of the file. String fileName = getFileName(carbonDataFileName); - // + 1 for size of "-" - int firstDashPos = fileName.indexOf("-"); - int secondDashPos = fileName.indexOf("-", firstDashPos + 1); - int startIndex = fileName.indexOf("-", secondDashPos + 1) + 1; - int endIndex = fileName.indexOf("."); + int startIndex = fileName.lastIndexOf(CarbonCommonConstants.HYPHEN) + 1; + int endIndex = fileName.indexOf(".", startIndex); return fileName.substring(startIndex, endIndex); } + /** - * gets file part number information from given carbon data file name + * This will return the timestamp present in the delete delta file. + * @param fileName + * @return */ -public static String getPartNo(String carbonDataFileName) { +public static String getTimeStampFromDeleteDeltaFile(String fileName) { + return fileName.substring(fileName.lastIndexOf(CarbonCommonConstants.HYPHEN) + 1, + fileName.lastIndexOf(".")); +} + +/** + * This will return the timestamp present in the delete delta file. + * @param fileName + * @return + */ +public static String getBlockNameFromDeleteDeltaFile(String fileName) { + return fileName.substring(0, + fileName.lastIndexOf(CarbonCommonConstants.HYPHEN)); +} + +/** + * gets updated timestamp information from given carbon data file name + */ +public static String getBucketNo(String carbonFilePath) { // Get the file name from path - String fileName = getFileName(carbonDataFileName); + String fileName = getFileName(carbonFilePath); // + 1 for size of "-" - int startIndex = fileName.indexOf("-") + 1; + int firstDashPos = fileName.indexOf("-"); --- End diff -- use CarbonCommonConstants.HYPHEN --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] incubator-carbondata pull request #492: [CARBONDATA-440] Providing the updat...
Github user ManoharVanam commented on a diff in the pull request: https://github.com/apache/incubator-carbondata/pull/492#discussion_r94906541 --- Diff: core/src/main/java/org/apache/carbondata/common/iudprocessor/iuddata/DeleteDeltaDataUtil.java --- @@ -0,0 +1,44 @@ +package org.apache.carbondata.common.iudprocessor.iuddata; + +import org.apache.carbondata.core.carbon.AbsoluteTableIdentifier; +import org.apache.carbondata.core.carbon.metadata.CarbonMetadata; +import org.apache.carbondata.core.carbon.metadata.schema.table.CarbonTable; +import org.apache.carbondata.core.load.LoadMetadataDetails; +import org.apache.carbondata.core.updatestatus.SegmentStatusManager; + +/** + * Created by S71955 on 06-10-2016. + */ +public class DeleteDeltaDataUtil { + + private DeleteDeltaDataUtil() { --- End diff -- Looks like created singleton class but not using , pls check and remove this class --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[jira] [Created] (CARBONDATA-601) Should reuse unit test case for integration module
QiangCai created CARBONDATA-601: --- Summary: Should reuse unit test case for integration module Key: CARBONDATA-601 URL: https://issues.apache.org/jira/browse/CARBONDATA-601 Project: CarbonData Issue Type: Test Components: spark-integration Affects Versions: 1.0.0-incubating Reporter: QiangCai Assignee: QiangCai Priority: Minor Fix For: 1.0.0-incubating -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CARBONDATA-600) Should reuse unit test case for integration module
QiangCai created CARBONDATA-600: --- Summary: Should reuse unit test case for integration module Key: CARBONDATA-600 URL: https://issues.apache.org/jira/browse/CARBONDATA-600 Project: CarbonData Issue Type: Bug Components: spark-integration Affects Versions: 1.0.0-incubating Reporter: QiangCai Assignee: QiangCai Priority: Minor Fix For: 1.0.0-incubating -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[GitHub] incubator-carbondata issue #481: [WIP]reuse test case for integration module
Github user CarbonDataQA commented on the issue: https://github.com/apache/incubator-carbondata/pull/481 Build Success with Spark 1.5.2, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder/462/ --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] incubator-carbondata issue #481: [WIP]reuse test case for integration module
Github user CarbonDataQA commented on the issue: https://github.com/apache/incubator-carbondata/pull/481 Build Success with Spark 1.5.2, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder/461/ --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] incubator-carbondata issue #481: [WIP]reuse test case for integration module
Github user CarbonDataQA commented on the issue: https://github.com/apache/incubator-carbondata/pull/481 Build Success with Spark 1.5.2, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder/460/ --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] incubator-carbondata pull request #450: [CARBONDATA-545]Added support for of...
Github user kumarvishal09 commented on a diff in the pull request: https://github.com/apache/incubator-carbondata/pull/450#discussion_r94775294 --- Diff: core/src/main/java/org/apache/carbondata/core/carbon/datastore/chunk/store/impl/ByteMeasureChunkStore.java --- @@ -0,0 +1,56 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + *http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.carbondata.core.carbon.datastore.chunk.store.impl; + +import org.apache.carbondata.core.memory.MemoryAllocatorFactory; +import org.apache.carbondata.core.unsafe.CarbonUnsafe; + +/** + * Responsible for storing Byte array data to memory. + * memory can be on heap or offheap based on the user configuration + */ +public class ByteMeasureChunkStore extends AbstractMeasureDataChunkStore { + + public ByteMeasureChunkStore(int numberOfRows) { +super(numberOfRows); + } + + /** + * Below method will be used to put byte array data to memory + * + * @param data + */ + @Override public void putData(byte[] data) { +this.dataPageMemoryBlock = + MemoryAllocatorFactory.INSATANCE.getMemoryAllocator().allocate(data.length); --- End diff -- I will add assert to check the same, thanks for pointing this out --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] incubator-carbondata issue #450: [CARBONDATA-545]Added support for offheap s...
Github user kumarvishal09 commented on the issue: https://github.com/apache/incubator-carbondata/pull/450 @ravipesala Ok i will add the old flow for now. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] incubator-carbondata pull request #450: [CARBONDATA-545]Added support for of...
Github user kumarvishal09 commented on a diff in the pull request: https://github.com/apache/incubator-carbondata/pull/450#discussion_r94775425 --- Diff: core/src/main/java/org/apache/carbondata/core/carbon/datastore/chunk/store/impl/AbstractDimensionDataChunkStore.java --- @@ -0,0 +1,170 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + *http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.carbondata.core.carbon.datastore.chunk.store.impl; + +import org.apache.carbondata.core.carbon.datastore.chunk.store.DimensionDataChunkStore; +import org.apache.carbondata.core.constants.CarbonCommonConstants; +import org.apache.carbondata.core.memory.MemoryAllocatorFactory; +import org.apache.carbondata.core.memory.MemoryBlock; +import org.apache.carbondata.core.unsafe.CarbonUnsafe; + +/** + * Responsibility is to store dimension data in memory. + * storage can be on heap or offheap. + */ +public abstract class AbstractDimensionDataChunkStore implements DimensionDataChunkStore { + + /** + * memory block for data page + */ + protected MemoryBlock dataPageMemoryBlock; + + /** + * memory block for inverted index + */ + protected MemoryBlock invertedIndexMemoryBlock; + + /** + * memory block for inverted index reverse + */ + protected MemoryBlock invertedIndexReverseMemoryBlock; + + /** + * to check whether dimension column was explicitly sorted or not + */ + protected boolean isExplictSorted; + + /** + * is memory released + */ + protected boolean isMemoryReleased; + + /** + * Constructor + * + * @param totalSize total size of the data to be kept + * @param isInvertedIdex is inverted index present + * @param numberOfRows total number of rows + */ + public AbstractDimensionDataChunkStore(int totalSize, boolean isInvertedIdex, int numberOfRows) { +// allocating the data page +this.dataPageMemoryBlock = + MemoryAllocatorFactory.INSATANCE.getMemoryAllocator().allocate(totalSize); +this.isExplictSorted = isInvertedIdex; +if (isInvertedIdex) { + // allocating the inverted index page memory + invertedIndexMemoryBlock = MemoryAllocatorFactory.INSATANCE.getMemoryAllocator() + .allocate(CarbonCommonConstants.INT_SIZE_IN_BYTE * numberOfRows); + // allocating the inverted index reverese page memory + invertedIndexReverseMemoryBlock = MemoryAllocatorFactory.INSATANCE.getMemoryAllocator() + .allocate(CarbonCommonConstants.INT_SIZE_IN_BYTE * numberOfRows); +} + } + + /** + * Below method will be used to put the rows and its metadata in offheap + * + * @param invertedIndexinverted index to be stored + * @param invertedIndexReverse inverted index reverse to be stored + * @param data data to be stored + */ + @Override public void putArray(final int[] invertedIndex, final int[] invertedIndexReverse, + final byte[] data) { +// copy the data to memory +CarbonUnsafe.unsafe +.copyMemory(data, CarbonUnsafe.BYTE_ARRAY_OFFSET, dataPageMemoryBlock.getBaseObject(), +dataPageMemoryBlock.getBaseOffset(), dataPageMemoryBlock.size()); --- End diff -- Ok I will fix it, Thanks for pointing this out --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] incubator-carbondata pull request #450: [CARBONDATA-545]Added support for of...
Github user kumarvishal09 commented on a diff in the pull request: https://github.com/apache/incubator-carbondata/pull/450#discussion_r94775168 --- Diff: core/src/main/java/org/apache/carbondata/core/carbon/datastore/chunk/store/impl/ByteMeasureChunkStore.java --- @@ -0,0 +1,56 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + *http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.carbondata.core.carbon.datastore.chunk.store.impl; + +import org.apache.carbondata.core.memory.MemoryAllocatorFactory; +import org.apache.carbondata.core.unsafe.CarbonUnsafe; + +/** + * Responsible for storing Byte array data to memory. + * memory can be on heap or offheap based on the user configuration + */ +public class ByteMeasureChunkStore extends AbstractMeasureDataChunkStore { + + public ByteMeasureChunkStore(int numberOfRows) { +super(numberOfRows); + } + + /** + * Below method will be used to put byte array data to memory + * + * @param data + */ + @Override public void putData(byte[] data) { +this.dataPageMemoryBlock = + MemoryAllocatorFactory.INSATANCE.getMemoryAllocator().allocate(data.length); +// copy the data to memory +CarbonUnsafe.unsafe +.copyMemory(data, CarbonUnsafe.SHORT_ARRAY_OFFSET, dataPageMemoryBlock.getBaseObject(), --- End diff -- Ya i missed I will update --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] incubator-carbondata pull request #501: [CARBONDATA-597] Unable to fetch dat...
Github user asfgit closed the pull request at: https://github.com/apache/incubator-carbondata/pull/501 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[jira] [Resolved] (CARBONDATA-597) Unable to fetch data with "select" query
[ https://issues.apache.org/jira/browse/CARBONDATA-597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ravindra Pesala resolved CARBONDATA-597. Resolution: Fixed > Unable to fetch data with "select" query > > > Key: CARBONDATA-597 > URL: https://issues.apache.org/jira/browse/CARBONDATA-597 > Project: CarbonData > Issue Type: Bug > Components: data-query >Affects Versions: 1.0.0-incubating >Reporter: Anurag Srivastava >Assignee: Mohammad Shahid Khan > Attachments: ErrorLog.png, createTable.png, loaddata.png > > Time Spent: 0.5h > Remaining Estimate: 0h > > I am running Carbon Data with thrift server and I am able to Create Table and > Load Data but as I run *select * from table_name;*, Its giving me error : > *Block B-tree loading failed*. > *Create Table :* CREATE TABLE uniqdata (CUST_ID int,CUST_NAME > char(30),ACTIVE_EMUI_VERSION string, DOB timestamp, DOJ timestamp, > BIGINT_COLUMN1 bigint,BIGINT_COLUMN2 bigint,DECIMAL_COLUMN1 decimal(30,10), > DECIMAL_COLUMN2 decimal(36,10),Double_COLUMN1 double, Double_COLUMN2 double, > INTEGER_COLUMN1 int) STORED BY 'org.apache.carbondata.format' TBLPROPERTIES > ("TABLE_BLOCKSIZE"= "256 MB"); > !https://issues.apache.org/jira/secure/attachment/12845768/createTable.png! > *Load Data :* LOAD DATA INPATH 'hdfs://localhost:54310/2000_UniqData.csv' > into table uniqdata OPTIONS ('DELIMITER'=',' > ,'QUOTECHAR'='"','BAD_RECORDS_ACTION'='FORCE','FILEHEADER'='CUST_ID,CUST_NAME,ACTIVE_EMUI_VERSION,DOB,DOJ,BIGINT_COLUMN1,BIGINT_COLUMN2,DECIMAL_COLUMN1,DECIMAL_COLUMN2,Double_COLUMN1,Double_COLUMN2,INTEGER_COLUMN1'); > !https://issues.apache.org/jira/secure/attachment/12845771/loaddata.png! > *Select Query :* select * from uniqdata; > PFA for stack Trace. > !https://issues.apache.org/jira/secure/attachment/12845764/ErrorLog.png! > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[GitHub] incubator-carbondata issue #501: [CARBONDATA-597] Unable to fetch data with ...
Github user ravipesala commented on the issue: https://github.com/apache/incubator-carbondata/pull/501 LGTM --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] incubator-carbondata issue #501: [CARBONDATA-597] Unable to fetch data with ...
Github user CarbonDataQA commented on the issue: https://github.com/apache/incubator-carbondata/pull/501 Build Success with Spark 1.5.2, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder/459/ --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] incubator-carbondata pull request #492: [CARBONDATA-440] Providing the updat...
Github user kumarvishal09 commented on a diff in the pull request: https://github.com/apache/incubator-carbondata/pull/492#discussion_r94772201 --- Diff: core/src/main/java/org/apache/carbondata/scan/scanner/impl/FilterScanner.java --- @@ -151,7 +160,13 @@ private void fillScannedResult(BlocksChunkHolder blocksChunkHolder) for (int i = bitSet.nextSetBit(0); i >= 0; i = bitSet.nextSetBit(i + 1)) { indexes[index++] = i; } - +// loading delete data cache in blockexecutioninfo instance +DeleteDeltaCacheLoaderIntf deleteCacheLoader = +new BlockletDeleteDeltaCacheLoader(scannedResult.getBlockletId(), blocksChunkHolder +.getDataBlock(), blockExecutionInfo.getAbsoluteTableIdentifier()); +deleteCacheLoader.loadDeleteDeltaFileDataToCache(); +scannedResult --- End diff -- why we need to set delete delta cache in scan result, i think better to get the delete delta cache bitset and we can do And of filter scanner bit set here and set the resulting bit set to scan result so changes will be less and impact will also reduce --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] incubator-carbondata pull request #492: [CARBONDATA-440] Providing the updat...
Github user kumarvishal09 commented on a diff in the pull request: https://github.com/apache/incubator-carbondata/pull/492#discussion_r94771952 --- Diff: core/src/main/java/org/apache/carbondata/scan/scanner/impl/FilterScanner.java --- @@ -151,7 +160,13 @@ private void fillScannedResult(BlocksChunkHolder blocksChunkHolder) for (int i = bitSet.nextSetBit(0); i >= 0; i = bitSet.nextSetBit(i + 1)) { indexes[index++] = i; } - +// loading delete data cache in blockexecutioninfo instance +DeleteDeltaCacheLoaderIntf deleteCacheLoader = --- End diff -- Scanner responsibility is to load to scan the data why it is loading delete cache ? it should be loaded before scanning like block loading if any delete delta cache exists --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] incubator-carbondata pull request #492: [CARBONDATA-440] Providing the updat...
Github user kumarvishal09 commented on a diff in the pull request: https://github.com/apache/incubator-carbondata/pull/492#discussion_r94771626 --- Diff: core/src/main/java/org/apache/carbondata/scan/scanner/impl/FilterScanner.java --- @@ -114,16 +117,22 @@ private void fillScannedResult(BlocksChunkHolder blocksChunkHolder) throws FilterUnsupportedException { scannedResult.reset(); -QueryStatistic totalBlockletStatistic = queryStatisticsModel.getStatisticsTypeAndObjMap() -.get(QueryStatisticsConstants.TOTAL_BLOCKLET_NUM); - totalBlockletStatistic.addCountStatistic(QueryStatisticsConstants.TOTAL_BLOCKLET_NUM, -totalBlockletStatistic.getCount() + 1); - queryStatisticsModel.getRecorder().recordStatistics(totalBlockletStatistic); +scannedResult.setBlockletId( +blockExecutionInfo.getBlockId() + CarbonCommonConstants.FILE_SEPARATOR + blocksChunkHolder +.getDataBlock().nodeNumber()); // apply min max if (isMinMaxEnabled) { - BitSet bitSet = this.filterExecuter - .isScanRequired(blocksChunkHolder.getDataBlock().getColumnsMaxValue(), - blocksChunkHolder.getDataBlock().getColumnsMinValue()); + BitSet bitSet = null; + // check for implicit include filter instance + if (filterExecuter instanceof ImplicitColumnFilterExecutor) { --- End diff -- Can u please explain what is this?? as this requirement is for updating and deletion of data, why filter scanner logic will changes. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] incubator-carbondata issue #501: [CARBONDATA-597] Unable to fetch data with ...
Github user CarbonDataQA commented on the issue: https://github.com/apache/incubator-carbondata/pull/501 Build Failed with Spark 1.5.2, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder/458/ --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] incubator-carbondata pull request #501: [CARBONDATA-597] Unable to fetch dat...
GitHub user mohammadshahidkhan opened a pull request: https://github.com/apache/incubator-carbondata/pull/501 [CARBONDATA-597] Unable to fetch data with "select" query Corrected the executor side reading the block meta size. You can merge this pull request into a Git repository by running: $ git pull https://github.com/mohammadshahidkhan/incubator-carbondata BlockSizeCalculationFix Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-carbondata/pull/501.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #501 commit 418f3c22e9c09e79a5b8e8ea3ca644859cb6970f Author: mohammadshahidkhan Date: 2017-01-05T13:43:34Z [CARBONDATA-597] Unable to fetch data with "select" query --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[jira] [Assigned] (CARBONDATA-597) Unable to fetch data with "select" query
[ https://issues.apache.org/jira/browse/CARBONDATA-597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mohammad Shahid Khan reassigned CARBONDATA-597: --- Assignee: Mohammad Shahid Khan > Unable to fetch data with "select" query > > > Key: CARBONDATA-597 > URL: https://issues.apache.org/jira/browse/CARBONDATA-597 > Project: CarbonData > Issue Type: Bug > Components: data-query >Affects Versions: 1.0.0-incubating >Reporter: Anurag Srivastava >Assignee: Mohammad Shahid Khan > Attachments: ErrorLog.png, createTable.png, loaddata.png > > > I am running Carbon Data with thrift server and I am able to Create Table and > Load Data but as I run *select * from table_name;*, Its giving me error : > *Block B-tree loading failed*. > *Create Table :* CREATE TABLE uniqdata (CUST_ID int,CUST_NAME > char(30),ACTIVE_EMUI_VERSION string, DOB timestamp, DOJ timestamp, > BIGINT_COLUMN1 bigint,BIGINT_COLUMN2 bigint,DECIMAL_COLUMN1 decimal(30,10), > DECIMAL_COLUMN2 decimal(36,10),Double_COLUMN1 double, Double_COLUMN2 double, > INTEGER_COLUMN1 int) STORED BY 'org.apache.carbondata.format' TBLPROPERTIES > ("TABLE_BLOCKSIZE"= "256 MB"); > !https://issues.apache.org/jira/secure/attachment/12845768/createTable.png! > *Load Data :* LOAD DATA INPATH 'hdfs://localhost:54310/2000_UniqData.csv' > into table uniqdata OPTIONS ('DELIMITER'=',' > ,'QUOTECHAR'='"','BAD_RECORDS_ACTION'='FORCE','FILEHEADER'='CUST_ID,CUST_NAME,ACTIVE_EMUI_VERSION,DOB,DOJ,BIGINT_COLUMN1,BIGINT_COLUMN2,DECIMAL_COLUMN1,DECIMAL_COLUMN2,Double_COLUMN1,Double_COLUMN2,INTEGER_COLUMN1'); > !https://issues.apache.org/jira/secure/attachment/12845771/loaddata.png! > *Select Query :* select * from uniqdata; > PFA for stack Trace. > !https://issues.apache.org/jira/secure/attachment/12845764/ErrorLog.png! > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[GitHub] incubator-carbondata issue #264: [CARBONDATA-341] CarbonTableIdentifier bein...
Github user CarbonDataQA commented on the issue: https://github.com/apache/incubator-carbondata/pull/264 Build Success with Spark 1.5.2, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder/457/ --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] incubator-carbondata issue #481: [WIP]reuse test case for integration module
Github user CarbonDataQA commented on the issue: https://github.com/apache/incubator-carbondata/pull/481 Build Success with Spark 1.5.2, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder/456/ --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[jira] [Resolved] (CARBONDATA-588) cleanup WriterCompressModel
[ https://issues.apache.org/jira/browse/CARBONDATA-588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Liang Chen resolved CARBONDATA-588. --- Resolution: Fixed > cleanup WriterCompressModel > --- > > Key: CARBONDATA-588 > URL: https://issues.apache.org/jira/browse/CARBONDATA-588 > Project: CarbonData > Issue Type: Sub-task > Components: core >Reporter: Jihong MA >Assignee: Jihong MA >Priority: Minor > Fix For: 1.0.0-incubating > > Time Spent: 1h 40m > Remaining Estimate: 0h > > a separate compression type field is unnecessary and error-prone as it has > been captured in compressionFinder abstraction. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[GitHub] incubator-carbondata issue #492: [CARBONDATA-440] Providing the update and d...
Github user CarbonDataQA commented on the issue: https://github.com/apache/incubator-carbondata/pull/492 Build Success with Spark 1.5.2, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder/455/ --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[jira] [Created] (CARBONDATA-599) should not be able to create table when number of bucket is precedded with arthematic operators
anubhav tarar created CARBONDATA-599: Summary: should not be able to create table when number of bucket is precedded with arthematic operators Key: CARBONDATA-599 URL: https://issues.apache.org/jira/browse/CARBONDATA-599 Project: CarbonData Issue Type: Bug Components: spark-integration Affects Versions: 1.0.0-incubating Environment: cluster Reporter: anubhav tarar Priority: Minor when i created a table in carbon data it works even if arthematic number precedded the bucketnumber here are the logs spark.sql("""CREATE TABLE bugs(ID string)USING org.apache.spark.sql.CarbonSource OPTIONS("bucketnumber"="+1","bucketcolumns"="ID","tableName"="bugs")"""); WARN 05-01 17:40:31,912 - Couldn't find corresponding Hive SerDe for data source provider org.apache.spark.sql.CarbonSource. Persisting data source table `default`.`bugs5` into Hive metastore in Spark SQL specific format, which is NOT compatible with Hive. res0: org.apache.spark.sql.DataFrame = [] but in hive it gives exception here are logs hive> CREATE TABLE test888(user_id BIGINT, firstname STRING, lastname STRING) > CLUSTERED BY(user_id) INTO +1 BUCKETS; FAILED: ParseException line 2:27 extraneous input '+' expecting Number near '' -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[GitHub] incubator-carbondata issue #481: [WIP]reuse test case for integration module
Github user CarbonDataQA commented on the issue: https://github.com/apache/incubator-carbondata/pull/481 Build Failed with Spark 1.5.2, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder/454/ --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[jira] [Created] (CARBONDATA-598) Not using tableName option in Create table command Shows Strange Behaviour
anubhav tarar created CARBONDATA-598: Summary: Not using tableName option in Create table command Shows Strange Behaviour Key: CARBONDATA-598 URL: https://issues.apache.org/jira/browse/CARBONDATA-598 Project: CarbonData Issue Type: Bug Components: spark-integration Affects Versions: 1.0.0-incubating Environment: cluster Reporter: anubhav tarar if you dont use the tableName Option when creating table with Bucketing it shows strange behaviour and do not validate any check here are the logs spark.sql("""CREATE TABLE t3q(ID String)USING org.apache.spark.sql.CarbonSource OPTIONS("bucketnumber"="1","bucketcolumns"="id","tableName"="t3")"""); here tables get created then again it does the checking when fired another query spark.sql("""CREATE TABLE t3219(ID Int)USING org.apache.spark.sql.CarbonSource OPTIONS("bucketnumber"="1","bucketcolumns"="id","tableName"="t3q21000")"""); org.apache.carbondata.spark.exception.MalformedCarbonCommandException: Table default.t3q21000 can not be created without key columns. Please use DICTIONARY_INCLUDE or DICTIONARY_EXCLUDE to set at least one key column if all specified columns are numeric types either there should be a check that both table name in create table statement and tableName in Option both are same and if it is allowed it should valid all the checks -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CARBONDATA-597) Unable to fetch data with "select" query
[ https://issues.apache.org/jira/browse/CARBONDATA-597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anurag Srivastava updated CARBONDATA-597: - Description: I am running Carbon Data with thrift server and I am able to Create Table and Load Data but as I run *select * from table_name;*, Its giving me error : *Block B-tree loading failed*. *Create Table :* CREATE TABLE uniqdata (CUST_ID int,CUST_NAME char(30),ACTIVE_EMUI_VERSION string, DOB timestamp, DOJ timestamp, BIGINT_COLUMN1 bigint,BIGINT_COLUMN2 bigint,DECIMAL_COLUMN1 decimal(30,10), DECIMAL_COLUMN2 decimal(36,10),Double_COLUMN1 double, Double_COLUMN2 double, INTEGER_COLUMN1 int) STORED BY 'org.apache.carbondata.format' TBLPROPERTIES ("TABLE_BLOCKSIZE"= "256 MB"); !https://issues.apache.org/jira/secure/attachment/12845768/createTable.png! *Load Data :* LOAD DATA INPATH 'hdfs://localhost:54310/2000_UniqData.csv' into table uniqdata OPTIONS ('DELIMITER'=',' ,'QUOTECHAR'='"','BAD_RECORDS_ACTION'='FORCE','FILEHEADER'='CUST_ID,CUST_NAME,ACTIVE_EMUI_VERSION,DOB,DOJ,BIGINT_COLUMN1,BIGINT_COLUMN2,DECIMAL_COLUMN1,DECIMAL_COLUMN2,Double_COLUMN1,Double_COLUMN2,INTEGER_COLUMN1'); !https://issues.apache.org/jira/secure/attachment/12845771/loaddata.png! *Select Query :* select * from uniqdata; PFA for stack Trace. !https://issues.apache.org/jira/secure/attachment/12845764/ErrorLog.png! was: I am running Carbon Data with thrift server and I am able to Create Table and Load Data but as I run *select * from table_name;*, Its giving me error : *Block B-tree loading failed*. *Create Table :* CREATE TABLE uniqdata (CUST_ID int,CUST_NAME char(30),ACTIVE_EMUI_VERSION string, DOB timestamp, DOJ timestamp, BIGINT_COLUMN1 bigint,BIGINT_COLUMN2 bigint,DECIMAL_COLUMN1 decimal(30,10), DECIMAL_COLUMN2 decimal(36,10),Double_COLUMN1 double, Double_COLUMN2 double, INTEGER_COLUMN1 int) STORED BY 'org.apache.carbondata.format' TBLPROPERTIES ("TABLE_BLOCKSIZE"= "256 MB"); !https://issues.apache.org/jira/secure/attachment/12845768/createTable.png! *Load Data :* LOAD DATA INPATH 'hdfs://localhost:54310/2000_UniqData.csv' into table uniqdata OPTIONS ('DELIMITER'=',' ,'QUOTECHAR'='"','BAD_RECORDS_ACTION'='FORCE','FILEHEADER'='CUST_ID,CUST_NAME,ACTIVE_EMUI_VERSION,DOB,DOJ,BIGINT_COLUMN1,BIGINT_COLUMN2,DECIMAL_COLUMN1,DECIMAL_COLUMN2,Double_COLUMN1,Double_COLUMN2,INTEGER_COLUMN1'); PFA for stack Trace. !https://issues.apache.org/jira/secure/attachment/12845764/ErrorLog.png! > Unable to fetch data with "select" query > > > Key: CARBONDATA-597 > URL: https://issues.apache.org/jira/browse/CARBONDATA-597 > Project: CarbonData > Issue Type: Bug > Components: data-query >Affects Versions: 1.0.0-incubating >Reporter: Anurag Srivastava > Attachments: ErrorLog.png, createTable.png, loaddata.png > > > I am running Carbon Data with thrift server and I am able to Create Table and > Load Data but as I run *select * from table_name;*, Its giving me error : > *Block B-tree loading failed*. > *Create Table :* CREATE TABLE uniqdata (CUST_ID int,CUST_NAME > char(30),ACTIVE_EMUI_VERSION string, DOB timestamp, DOJ timestamp, > BIGINT_COLUMN1 bigint,BIGINT_COLUMN2 bigint,DECIMAL_COLUMN1 decimal(30,10), > DECIMAL_COLUMN2 decimal(36,10),Double_COLUMN1 double, Double_COLUMN2 double, > INTEGER_COLUMN1 int) STORED BY 'org.apache.carbondata.format' TBLPROPERTIES > ("TABLE_BLOCKSIZE"= "256 MB"); > !https://issues.apache.org/jira/secure/attachment/12845768/createTable.png! > *Load Data :* LOAD DATA INPATH 'hdfs://localhost:54310/2000_UniqData.csv' > into table uniqdata OPTIONS ('DELIMITER'=',' > ,'QUOTECHAR'='"','BAD_RECORDS_ACTION'='FORCE','FILEHEADER'='CUST_ID,CUST_NAME,ACTIVE_EMUI_VERSION,DOB,DOJ,BIGINT_COLUMN1,BIGINT_COLUMN2,DECIMAL_COLUMN1,DECIMAL_COLUMN2,Double_COLUMN1,Double_COLUMN2,INTEGER_COLUMN1'); > !https://issues.apache.org/jira/secure/attachment/12845771/loaddata.png! > *Select Query :* select * from uniqdata; > PFA for stack Trace. > !https://issues.apache.org/jira/secure/attachment/12845764/ErrorLog.png! > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CARBONDATA-597) Unable to fetch data with "select" query
[ https://issues.apache.org/jira/browse/CARBONDATA-597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anurag Srivastava updated CARBONDATA-597: - Description: I am running Carbon Data with thrift server and I am able to Create Table and Load Data but as I run *select * from table_name;*, Its giving me error : *Block B-tree loading failed*. *Create Table :* CREATE TABLE uniqdata (CUST_ID int,CUST_NAME char(30),ACTIVE_EMUI_VERSION string, DOB timestamp, DOJ timestamp, BIGINT_COLUMN1 bigint,BIGINT_COLUMN2 bigint,DECIMAL_COLUMN1 decimal(30,10), DECIMAL_COLUMN2 decimal(36,10),Double_COLUMN1 double, Double_COLUMN2 double, INTEGER_COLUMN1 int) STORED BY 'org.apache.carbondata.format' TBLPROPERTIES ("TABLE_BLOCKSIZE"= "256 MB"); !https://issues.apache.org/jira/secure/attachment/12845768/createTable.png! *Load Data :* LOAD DATA INPATH 'hdfs://localhost:54310/2000_UniqData.csv' into table uniqdata OPTIONS ('DELIMITER'=',' ,'QUOTECHAR'='"','BAD_RECORDS_ACTION'='FORCE','FILEHEADER'='CUST_ID,CUST_NAME,ACTIVE_EMUI_VERSION,DOB,DOJ,BIGINT_COLUMN1,BIGINT_COLUMN2,DECIMAL_COLUMN1,DECIMAL_COLUMN2,Double_COLUMN1,Double_COLUMN2,INTEGER_COLUMN1'); PFA for stack Trace. !https://issues.apache.org/jira/secure/attachment/12845764/ErrorLog.png! was: I am running Carbon Data with thrift server and I am able to Create Table and Load Data but as I run *select * from table_name;*, Its giving me error : *Block B-tree loading failed*. *Create Table :* CREATE TABLE uniqdata (CUST_ID int,CUST_NAME char(30),ACTIVE_EMUI_VERSION string, DOB timestamp, DOJ timestamp, BIGINT_COLUMN1 bigint,BIGINT_COLUMN2 bigint,DECIMAL_COLUMN1 decimal(30,10), DECIMAL_COLUMN2 decimal(36,10),Double_COLUMN1 double, Double_COLUMN2 double, INTEGER_COLUMN1 int) STORED BY 'org.apache.carbondata.format' TBLPROPERTIES ("TABLE_BLOCKSIZE"= "256 MB"); !! PFA for stack Trace. !https://issues.apache.org/jira/secure/attachment/12845764/ErrorLog.png! > Unable to fetch data with "select" query > > > Key: CARBONDATA-597 > URL: https://issues.apache.org/jira/browse/CARBONDATA-597 > Project: CarbonData > Issue Type: Bug > Components: data-query >Affects Versions: 1.0.0-incubating >Reporter: Anurag Srivastava > Attachments: ErrorLog.png, createTable.png, loaddata.png > > > I am running Carbon Data with thrift server and I am able to Create Table and > Load Data but as I run *select * from table_name;*, Its giving me error : > *Block B-tree loading failed*. > *Create Table :* CREATE TABLE uniqdata (CUST_ID int,CUST_NAME > char(30),ACTIVE_EMUI_VERSION string, DOB timestamp, DOJ timestamp, > BIGINT_COLUMN1 bigint,BIGINT_COLUMN2 bigint,DECIMAL_COLUMN1 decimal(30,10), > DECIMAL_COLUMN2 decimal(36,10),Double_COLUMN1 double, Double_COLUMN2 double, > INTEGER_COLUMN1 int) STORED BY 'org.apache.carbondata.format' TBLPROPERTIES > ("TABLE_BLOCKSIZE"= "256 MB"); > !https://issues.apache.org/jira/secure/attachment/12845768/createTable.png! > *Load Data :* LOAD DATA INPATH 'hdfs://localhost:54310/2000_UniqData.csv' > into table uniqdata OPTIONS ('DELIMITER'=',' > ,'QUOTECHAR'='"','BAD_RECORDS_ACTION'='FORCE','FILEHEADER'='CUST_ID,CUST_NAME,ACTIVE_EMUI_VERSION,DOB,DOJ,BIGINT_COLUMN1,BIGINT_COLUMN2,DECIMAL_COLUMN1,DECIMAL_COLUMN2,Double_COLUMN1,Double_COLUMN2,INTEGER_COLUMN1'); > PFA for stack Trace. > !https://issues.apache.org/jira/secure/attachment/12845764/ErrorLog.png! > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CARBONDATA-597) Unable to fetch data with "select" query
[ https://issues.apache.org/jira/browse/CARBONDATA-597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anurag Srivastava updated CARBONDATA-597: - Attachment: loaddata.png > Unable to fetch data with "select" query > > > Key: CARBONDATA-597 > URL: https://issues.apache.org/jira/browse/CARBONDATA-597 > Project: CarbonData > Issue Type: Bug > Components: data-query >Affects Versions: 1.0.0-incubating >Reporter: Anurag Srivastava > Attachments: ErrorLog.png, createTable.png, loaddata.png > > > I am running Carbon Data with thrift server and I am able to Create Table and > Load Data but as I run *select * from table_name;*, Its giving me error : > *Block B-tree loading failed*. > *Create Table :* CREATE TABLE uniqdata (CUST_ID int,CUST_NAME > char(30),ACTIVE_EMUI_VERSION string, DOB timestamp, DOJ timestamp, > BIGINT_COLUMN1 bigint,BIGINT_COLUMN2 bigint,DECIMAL_COLUMN1 decimal(30,10), > DECIMAL_COLUMN2 decimal(36,10),Double_COLUMN1 double, Double_COLUMN2 double, > INTEGER_COLUMN1 int) STORED BY 'org.apache.carbondata.format' TBLPROPERTIES > ("TABLE_BLOCKSIZE"= "256 MB"); > !https://issues.apache.org/jira/secure/attachment/12845768/createTable.png! > *Load Data :* LOAD DATA INPATH 'hdfs://localhost:54310/2000_UniqData.csv' > into table uniqdata OPTIONS ('DELIMITER'=',' > ,'QUOTECHAR'='"','BAD_RECORDS_ACTION'='FORCE','FILEHEADER'='CUST_ID,CUST_NAME,ACTIVE_EMUI_VERSION,DOB,DOJ,BIGINT_COLUMN1,BIGINT_COLUMN2,DECIMAL_COLUMN1,DECIMAL_COLUMN2,Double_COLUMN1,Double_COLUMN2,INTEGER_COLUMN1'); > PFA for stack Trace. > !https://issues.apache.org/jira/secure/attachment/12845764/ErrorLog.png! > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CARBONDATA-597) Unable to fetch data with "select" query
[ https://issues.apache.org/jira/browse/CARBONDATA-597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anurag Srivastava updated CARBONDATA-597: - Attachment: (was: LoadData.png) > Unable to fetch data with "select" query > > > Key: CARBONDATA-597 > URL: https://issues.apache.org/jira/browse/CARBONDATA-597 > Project: CarbonData > Issue Type: Bug > Components: data-query >Affects Versions: 1.0.0-incubating >Reporter: Anurag Srivastava > Attachments: ErrorLog.png, createTable.png, loaddata.png > > > I am running Carbon Data with thrift server and I am able to Create Table and > Load Data but as I run *select * from table_name;*, Its giving me error : > *Block B-tree loading failed*. > *Create Table :* CREATE TABLE uniqdata (CUST_ID int,CUST_NAME > char(30),ACTIVE_EMUI_VERSION string, DOB timestamp, DOJ timestamp, > BIGINT_COLUMN1 bigint,BIGINT_COLUMN2 bigint,DECIMAL_COLUMN1 decimal(30,10), > DECIMAL_COLUMN2 decimal(36,10),Double_COLUMN1 double, Double_COLUMN2 double, > INTEGER_COLUMN1 int) STORED BY 'org.apache.carbondata.format' TBLPROPERTIES > ("TABLE_BLOCKSIZE"= "256 MB"); > !https://issues.apache.org/jira/secure/attachment/12845768/createTable.png! > *Load Data :* LOAD DATA INPATH 'hdfs://localhost:54310/2000_UniqData.csv' > into table uniqdata OPTIONS ('DELIMITER'=',' > ,'QUOTECHAR'='"','BAD_RECORDS_ACTION'='FORCE','FILEHEADER'='CUST_ID,CUST_NAME,ACTIVE_EMUI_VERSION,DOB,DOJ,BIGINT_COLUMN1,BIGINT_COLUMN2,DECIMAL_COLUMN1,DECIMAL_COLUMN2,Double_COLUMN1,Double_COLUMN2,INTEGER_COLUMN1'); > PFA for stack Trace. > !https://issues.apache.org/jira/secure/attachment/12845764/ErrorLog.png! > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CARBONDATA-597) Unable to fetch data with "select" query
[ https://issues.apache.org/jira/browse/CARBONDATA-597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anurag Srivastava updated CARBONDATA-597: - Description: I am running Carbon Data with thrift server and I am able to Create Table and Load Data but as I run *select * from table_name;*, Its giving me error : *Block B-tree loading failed*. *Create Table :* CREATE TABLE uniqdata (CUST_ID int,CUST_NAME char(30),ACTIVE_EMUI_VERSION string, DOB timestamp, DOJ timestamp, BIGINT_COLUMN1 bigint,BIGINT_COLUMN2 bigint,DECIMAL_COLUMN1 decimal(30,10), DECIMAL_COLUMN2 decimal(36,10),Double_COLUMN1 double, Double_COLUMN2 double, INTEGER_COLUMN1 int) STORED BY 'org.apache.carbondata.format' TBLPROPERTIES ("TABLE_BLOCKSIZE"= "256 MB"); !! PFA for stack Trace. !https://issues.apache.org/jira/secure/attachment/12845764/ErrorLog.png! was: I am running Carbon Data with thrift server and I am able to Create Table and Load Data but as I run *select * from table_name;*, Its giving me error : *Block B-tree loading failed*. *Create Table :* PFA for stack Trace. !https://issues.apache.org/jira/secure/attachment/12845764/ErrorLog.png! > Unable to fetch data with "select" query > > > Key: CARBONDATA-597 > URL: https://issues.apache.org/jira/browse/CARBONDATA-597 > Project: CarbonData > Issue Type: Bug > Components: data-query >Affects Versions: 1.0.0-incubating >Reporter: Anurag Srivastava > Attachments: ErrorLog.png, LoadData.png, createTable.png > > > I am running Carbon Data with thrift server and I am able to Create Table and > Load Data but as I run *select * from table_name;*, Its giving me error : > *Block B-tree loading failed*. > *Create Table :* CREATE TABLE uniqdata (CUST_ID int,CUST_NAME > char(30),ACTIVE_EMUI_VERSION string, DOB timestamp, DOJ timestamp, > BIGINT_COLUMN1 bigint,BIGINT_COLUMN2 bigint,DECIMAL_COLUMN1 decimal(30,10), > DECIMAL_COLUMN2 decimal(36,10),Double_COLUMN1 double, Double_COLUMN2 double, > INTEGER_COLUMN1 int) STORED BY 'org.apache.carbondata.format' TBLPROPERTIES > ("TABLE_BLOCKSIZE"= "256 MB"); > !! > PFA for stack Trace. > !https://issues.apache.org/jira/secure/attachment/12845764/ErrorLog.png! > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CARBONDATA-597) Unable to fetch data with "select" query
[ https://issues.apache.org/jira/browse/CARBONDATA-597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anurag Srivastava updated CARBONDATA-597: - Description: I am running Carbon Data with thrift server and I am able to Create Table and Load Data but as I run *select * from table_name;*, Its giving me error : *Block B-tree loading failed*. *Create Table :* PFA for stack Trace. !https://issues.apache.org/jira/secure/attachment/12845764/ErrorLog.png! was: I am running Carbon Data with thrift server and I am able to Create Table and Load Data but as I run *select * from table_name;*, Its giving me error : *Block B-tree loading failed*. PFA for stack Trace. !https://issues.apache.org/jira/secure/attachment/12845764/ErrorLog.png! > Unable to fetch data with "select" query > > > Key: CARBONDATA-597 > URL: https://issues.apache.org/jira/browse/CARBONDATA-597 > Project: CarbonData > Issue Type: Bug > Components: data-query >Affects Versions: 1.0.0-incubating >Reporter: Anurag Srivastava > Attachments: ErrorLog.png, LoadData.png, createTable.png > > > I am running Carbon Data with thrift server and I am able to Create Table and > Load Data but as I run *select * from table_name;*, Its giving me error : > *Block B-tree loading failed*. > *Create Table :* > PFA for stack Trace. > !https://issues.apache.org/jira/secure/attachment/12845764/ErrorLog.png! > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CARBONDATA-597) Unable to fetch data with "select" query
[ https://issues.apache.org/jira/browse/CARBONDATA-597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anurag Srivastava updated CARBONDATA-597: - Attachment: createTable.png LoadData.png > Unable to fetch data with "select" query > > > Key: CARBONDATA-597 > URL: https://issues.apache.org/jira/browse/CARBONDATA-597 > Project: CarbonData > Issue Type: Bug > Components: data-query >Affects Versions: 1.0.0-incubating >Reporter: Anurag Srivastava > Attachments: ErrorLog.png, LoadData.png, createTable.png > > > I am running Carbon Data with thrift server and I am able to Create Table and > Load Data but as I run *select * from table_name;*, Its giving me error : > *Block B-tree loading failed*. > *Create Table :* > PFA for stack Trace. > !https://issues.apache.org/jira/secure/attachment/12845764/ErrorLog.png! > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CARBONDATA-597) Unable to fetch data with "select" query
[ https://issues.apache.org/jira/browse/CARBONDATA-597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anurag Srivastava updated CARBONDATA-597: - Description: I am running Carbon Data with thrift server and I am able to Create Table and Load Data but as I run *select * from table_name;*, Its giving me error : *Block B-tree loading failed*. PFA for stack Trace. !https://issues.apache.org/jira/secure/attachment/12845764/ErrorLog.png! was: I am running Carbon Data with beeline and I am able to Create Table and Load Data but as I run *select * from table_name;*, Its giving me error : *Block B-tree loading failed*. PFA for stack Trace. !https://issues.apache.org/jira/secure/attachment/12845764/ErrorLog.png! > Unable to fetch data with "select" query > > > Key: CARBONDATA-597 > URL: https://issues.apache.org/jira/browse/CARBONDATA-597 > Project: CarbonData > Issue Type: Bug > Components: data-query >Affects Versions: 1.0.0-incubating >Reporter: Anurag Srivastava > Attachments: ErrorLog.png > > > I am running Carbon Data with thrift server and I am able to Create Table and > Load Data but as I run *select * from table_name;*, Its giving me error : > *Block B-tree loading failed*. > PFA for stack Trace. > !https://issues.apache.org/jira/secure/attachment/12845764/ErrorLog.png! > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CARBONDATA-597) Unable to fetch data with "select" query
[ https://issues.apache.org/jira/browse/CARBONDATA-597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anurag Srivastava updated CARBONDATA-597: - Description: I am running Carbon Data with beeline and I am able to Create Table and Load Data but as I run *select * from table_name;*, Its giving me error : *Block B-tree loading failed*. PFA for stack Trace. !https://issues.apache.org/jira/secure/attachment/12845764/ErrorLog.png! was: I am running Carbon Data with beeline and I am able to Create Table and Load Data but as I run *select * from table_name;*, Its giving me error : *Block B-tree loading failed* PFA for stack Trace. !https://issues.apache.org/jira/secure/attachment/12845764/ErrorLog.png! > Unable to fetch data with "select" query > > > Key: CARBONDATA-597 > URL: https://issues.apache.org/jira/browse/CARBONDATA-597 > Project: CarbonData > Issue Type: Bug > Components: data-query >Affects Versions: 1.0.0-incubating >Reporter: Anurag Srivastava > Attachments: ErrorLog.png > > > I am running Carbon Data with beeline and I am able to Create Table and Load > Data but as I run *select * from table_name;*, Its giving me error : *Block > B-tree loading failed*. > PFA for stack Trace. > !https://issues.apache.org/jira/secure/attachment/12845764/ErrorLog.png! > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CARBONDATA-552) Unthrown FilterUnsupportedException in catch block
[ https://issues.apache.org/jira/browse/CARBONDATA-552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15800948#comment-15800948 ] sandeep purohit commented on CARBONDATA-552: I see now the above defect is fix in some commit but i see getNoDictionaryRangeValues function also not throw the exception and just log the error so is it correct behaviour?? {code:title=RowLevelRangeFilterResolverImpl.java|theme=FadeToGrey|linenumbers=true|language=html/xml|firstline=0001|collapse=true} private List getNoDictionaryRangeValues() { List listOfExpressionResults = new ArrayList(20); if (this.getFilterExpression() instanceof BinaryConditionalExpression) { listOfExpressionResults = ((BinaryConditionalExpression) this.getFilterExpression()).getLiterals(); } List filterValuesList = new ArrayList(20); boolean invalidRowsPresent = false; for (ExpressionResult result : listOfExpressionResults) { try { if (result.getString() == null) { filterValuesList.add(CarbonCommonConstants.MEMBER_DEFAULT_VAL.getBytes()); continue; } filterValuesList.add(result.getString().getBytes()); } catch (FilterIllegalMemberException e) { // Any invalid member while evaluation shall be ignored, system will log the // error only once since all rows the evaluation happens so inorder to avoid // too much log inforation only once the log will be printed. FilterUtil.logError(e, invalidRowsPresent); } } Comparator filterNoDictValueComaparator = new Comparator() { @Override public int compare(byte[] filterMember1, byte[] filterMember2) { return ByteUtil.UnsafeComparer.INSTANCE.compareTo(filterMember1, filterMember2); } }; Collections.sort(filterValuesList, filterNoDictValueComaparator); return filterValuesList; } {code} > Unthrown FilterUnsupportedException in catch block > -- > > Key: CARBONDATA-552 > URL: https://issues.apache.org/jira/browse/CARBONDATA-552 > Project: CarbonData > Issue Type: Bug > Components: core >Reporter: Jaechang Nam >Priority: Trivial > Time Spent: 40m > Remaining Estimate: 0h > > new FilterUnsupportedException(e) is not thrown in > core/src/main/java/org/apache/carbondata/scan/filter/resolver/RowLevelRangeFilterResolverImpl.java > (found in the current github snapshot, > ddeb00425537ff59bdfba76779c5d96287e07d2e) > {code} > 230 } > 231 } catch (FilterIllegalMemberException e) { > 232 new FilterUnsupportedException(e); > 233 } > 234 return filterValuesList; > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CARBONDATA-597) Unable to fetch data with "select" query
[ https://issues.apache.org/jira/browse/CARBONDATA-597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anurag Srivastava updated CARBONDATA-597: - Priority: Major (was: Blocker) > Unable to fetch data with "select" query > > > Key: CARBONDATA-597 > URL: https://issues.apache.org/jira/browse/CARBONDATA-597 > Project: CarbonData > Issue Type: Bug > Components: data-query >Affects Versions: 1.0.0-incubating >Reporter: Anurag Srivastava > Attachments: ErrorLog.png > > > I am running Carbon Data with beeline and I am able to Create Table and Load > Data but as I run *select * from table_name;*, Its giving me error : *Block > B-tree loading failed* > PFA for stack Trace. > !https://issues.apache.org/jira/secure/attachment/12845764/ErrorLog.png! > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CARBONDATA-597) Unable to fetch data with "select" query
[ https://issues.apache.org/jira/browse/CARBONDATA-597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anurag Srivastava updated CARBONDATA-597: - Priority: Blocker (was: Major) > Unable to fetch data with "select" query > > > Key: CARBONDATA-597 > URL: https://issues.apache.org/jira/browse/CARBONDATA-597 > Project: CarbonData > Issue Type: Bug > Components: data-query >Affects Versions: 1.0.0-incubating >Reporter: Anurag Srivastava >Priority: Blocker > Attachments: ErrorLog.png > > > I am running Carbon Data with beeline and I am able to Create Table and Load > Data but as I run *select * from table_name;*, Its giving me error : *Block > B-tree loading failed* > PFA for stack Trace. > !https://issues.apache.org/jira/secure/attachment/12845764/ErrorLog.png! > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CARBONDATA-597) Unable to fetch data with "select" query
Anurag Srivastava created CARBONDATA-597: Summary: Unable to fetch data with "select" query Key: CARBONDATA-597 URL: https://issues.apache.org/jira/browse/CARBONDATA-597 Project: CarbonData Issue Type: Bug Components: data-query Affects Versions: 1.0.0-incubating Reporter: Anurag Srivastava Attachments: ErrorLog.png I am running Carbon Data with beeline and I am able to Create Table and Load Data but as I run *select * from table_name;*, Its giving me error : *Block B-tree loading failed* PFA for stack Trace. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CARBONDATA-597) Unable to fetch data with "select" query
[ https://issues.apache.org/jira/browse/CARBONDATA-597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anurag Srivastava updated CARBONDATA-597: - Description: I am running Carbon Data with beeline and I am able to Create Table and Load Data but as I run *select * from table_name;*, Its giving me error : *Block B-tree loading failed* PFA for stack Trace. !https://issues.apache.org/jira/secure/attachment/12845764/ErrorLog.png! was: I am running Carbon Data with beeline and I am able to Create Table and Load Data but as I run *select * from table_name;*, Its giving me error : *Block B-tree loading failed* PFA for stack Trace. > Unable to fetch data with "select" query > > > Key: CARBONDATA-597 > URL: https://issues.apache.org/jira/browse/CARBONDATA-597 > Project: CarbonData > Issue Type: Bug > Components: data-query >Affects Versions: 1.0.0-incubating >Reporter: Anurag Srivastava > Attachments: ErrorLog.png > > > I am running Carbon Data with beeline and I am able to Create Table and Load > Data but as I run *select * from table_name;*, Its giving me error : *Block > B-tree loading failed* > PFA for stack Trace. > !https://issues.apache.org/jira/secure/attachment/12845764/ErrorLog.png! > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[GitHub] incubator-carbondata pull request #493: [CARBONDATA-588] cleanup WriterCompr...
Github user asfgit closed the pull request at: https://github.com/apache/incubator-carbondata/pull/493 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] incubator-carbondata issue #493: [CARBONDATA-588] cleanup WriterCompressionM...
Github user chenliang613 commented on the issue: https://github.com/apache/incubator-carbondata/pull/493 LGTM --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] incubator-carbondata issue #493: [CARBONDATA-588] cleanup WriterCompressionM...
Github user ravipesala commented on the issue: https://github.com/apache/incubator-carbondata/pull/493 LGTM --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] incubator-carbondata issue #450: [CARBONDATA-545]Added support for offheap s...
Github user ravipesala commented on the issue: https://github.com/apache/incubator-carbondata/pull/450 @kumarvishal09 Please don't remove the old flow(with out using unsafe). The current flow using unsafe operations may not be reliable so we keep the old flow as default and once this stable we may remove it later --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[jira] [Commented] (CARBONDATA-583) Replace Function is not working for string/char
[ https://issues.apache.org/jira/browse/CARBONDATA-583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15800826#comment-15800826 ] Naresh P R commented on CARBONDATA-583: --- [~phalodi], you can refer below documentation for supported functions. https://spark.apache.org/docs/1.6.1/api/java/org/apache/spark/sql/functions.html IMHO, Apart from CarbonData specific UDFs, we can use standard UDF APIs to register user specific functions instead of including it as part of CarbonData > Replace Function is not working for string/char > > > Key: CARBONDATA-583 > URL: https://issues.apache.org/jira/browse/CARBONDATA-583 > Project: CarbonData > Issue Type: Bug > Components: data-load >Affects Versions: 1.0.0-incubating > Environment: cluster >Reporter: Anurag Srivastava >Assignee: Rahul Kumar >Priority: Minor > Time Spent: 40m > Remaining Estimate: 0h > > I am running "replace" function but it is giving error : "undefined function > replace". > Query : select replace('aaabbccaabb', 'aaa', 't'); > Expected Result : "tbbccaabb" > Result : Error: org.apache.spark.sql.AnalysisException: undefined function > replace; line 1 pos 30 (state=,code=0) -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[GitHub] incubator-carbondata pull request #500: Add CI building status and Apaches l...
Github user asfgit closed the pull request at: https://github.com/apache/incubator-carbondata/pull/500 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] incubator-carbondata issue #500: Add CI building status and Apaches license ...
Github user CarbonDataQA commented on the issue: https://github.com/apache/incubator-carbondata/pull/500 Build Success with Spark 1.5.2, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder/453/ --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] incubator-carbondata pull request #500: Add CI building status and Apaches l...
GitHub user chenliang613 opened a pull request: https://github.com/apache/incubator-carbondata/pull/500 Add CI building status and Apaches license icon Add CI building status and Apaches license icon You can merge this pull request into a Git repository by running: $ git pull https://github.com/chenliang613/incubator-carbondata patch-3 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-carbondata/pull/500.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #500 commit a7da3a21250f4e964bd093c752bc985d27572388 Author: Liang Chen Date: 2017-01-05T08:23:43Z Add CI building status and Apaches license icon Add CI building status and Apaches license icon --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] incubator-carbondata pull request #482: [CARBONDATA-552] Catch the FilterUns...
Github user phalodi closed the pull request at: https://github.com/apache/incubator-carbondata/pull/482 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---