[
https://issues.apache.org/jira/browse/CARBONDATA-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15667236#comment-15667236 ]
xbkaishui commented on CARBONDATA-83:
-------------------------------------
after read SparkSubmitCommandBuilder source code , the correct way to use spark-submit is
spark-submit [options] --class SomeClass somejar.jar [sqlcli_options]
I will modify the carbon-spark-sql scripts to split args to two parts
> please support carbon-spark-sql CLI options
> -------------------------------------------
>
> Key: CARBONDATA-83
> URL:
https://issues.apache.org/jira/browse/CARBONDATA-83> Project: CarbonData
> Issue Type: Improvement
> Components: spark-integration
> Affects Versions: 0.2.0-incubating
> Reporter: Shoujie Zhuo
> Assignee: xbkaishui
> Fix For: 0.3.0-incubating
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> exmaple:
> -d,
> --define <key=value> Variable subsitution to apply to hive
> commands. e.g. -d A=B or --define A=B
> --database <databasename> Specify the database to use
> -e <quoted-query-string> SQL from command line
> -f <filename> SQL from files
> -H,
> --help Print help information
> --hiveconf <property=value> Use value for given property
> --hivevar <key=value> Variable subsitution to apply to hive
> commands. e.g. --hivevar A=B
> -i <filename> Initialization SQL file
> -S,
> --silent Silent mode in interactive shell
> -v,
> --verbose Verbose mode (echo executed SQL to the
> console)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)