Re: column auto mapping when loading data from csv file

2017-03-14 Thread Jacky Li
Hi Yinwei, I am OK with this new feature if there is an option in load script to enable it. So user can explicitly enable it if he wants, and not changing the current 2 choices. Regards, Jacky > 在 2017年3月13日,上午10:18,Yinwei Li <251469...@qq.com> 写道: > > Hi all, > > > when loading data from

Re: column auto mapping when loading data from csv file

2017-03-13 Thread QiangCai
passing column check } } -- View this message in context: http://apache-carbondata-mailing-list-archive.1130556.n5.nabble.com/column-auto-mapping-when-loading-data-from-csv-file-tp8717p8753.html Sent from the Apache CarbonData Mailing List archive mailing list archive at Nabble.com.

?????? column auto mapping when loading data from csv file

2017-03-13 Thread Yinwei Li
bator.apache.org>; ????: Re: column auto mapping when loading data from csv file Hi Yinwei, Even I feel it is little cumbersome to let user forced to add the header to CSV file or to loading script. But what Manish said is also true. I think we should come with some new option in loadi

Re: column auto mapping when loading data from csv file

2017-03-12 Thread Ravindra Pesala
Hi Yinwei, Even I feel it is little cumbersome to let user forced to add the header to CSV file or to loading script. But what Manish said is also true. I think we should come with some new option in loading script to accept auto mapping of DDL columns and CSV columns. If user knows that DDL

Re: column auto mapping when loading data from csv file

2017-03-12 Thread manish gupta
Hi Yinwei, Thanks for this suggestion. From my opinion providing first 2 options ensures that user is aware about the data he is going to load and column data mapping. For the 3rd option suggested by you I think it will be something that we are taking the decision without intimating the user and

column auto mapping when loading data from csv file

2017-03-12 Thread Yinwei Li
Hi all, when loading data from a csv file to carbondata table, we have 2 choices to mapping the columns from csv file to carbondata table: 1. add columns' names at the start of the csv file 2. declare the column mapping at the data loading script shall we add a feature which make an