GitHub user akashrn5 opened a pull request:
https://github.com/apache/carbondata/pull/2882
[CARBONDATA-3060]Improve the command for cli and fixed other issues
### Changes proposed in this PR:
**1. improve the syntax for CLI DDL, now the command can be given as**
`CarbonCli for table <table_name> options('-cmd summary/benchmark -a -s
-v -c <column_name> -m')`
the options will take one string, which is basically a command, which user
can directly paste into command promt and run as java command
Now user no nned to give -P also, internally when above commad is run we
take table path into consideration in command line arguments
**2. other issues are fixed in this PR are**
1. when numeric columns are included in dictionary
2. timestamp column's min and max details
3. help command was not working in beeline
4. for all the complex columns, like parent and child columns, min and max
will be given as "NA"
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:
- [ ] Any interfaces changed?
- [ ] Any backward compatibility impacted?
- [ ] Document update required?
- [ ] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests
are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance
test report.
- Any additional information to help reviewers in testing this
change.
- [ ] For large changes, please consider breaking it into sub-tasks under
an umbrella JIRA.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/akashrn5/incubator-carbondata improve
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/2882.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 #2882
----
commit ca8061e1d6e0652c786c1231ad82efe17e504ee4
Author: akashrn5 <akashnilugal@...>
Date: 2018-10-29T12:44:24Z
Improve the command for cli and fixed other issues
----
---