Re: column auto mapping when loading data from csv file
Posted by
Jacky Li on
Mar 14, 2017; 1:50pm
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/column-auto-mapping-when-loading-data-from-csv-file-tp8717p8884.html
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 <
[hidden email]> 写道:
>
> 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 auto mapping in the order of the columns at the csv file and the carbondata table at default, so that users don't have to do the above jobs any more under most of the circumstance.