[
https://issues.apache.org/jira/browse/CARBONDATA-956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15974259#comment-15974259 ]
chenerlu commented on CARBONDATA-956:
-------------------------------------
As I konw, this is similar as using JDBC to quey hive table. It contains several steps:
step1: loading driver
step2: specify your JDBC url and get connection through driver, like connection = DriverManager.getConnection(url, "cel", "");
step3: specify your query sql, like String querySql = "SELECT * FROM CARBON_TABLE";
step4: create statement through your connection;
step5: use executeQuery api, you can get the query result.
You can have a try, if you still have some question, feel free to let me know :)
> In my program, How to use JDBC to query the carbondata table data? or other methods?
> ---------------------------------------------------------------------------------------
>
> Key: CARBONDATA-956
> URL:
https://issues.apache.org/jira/browse/CARBONDATA-956> Project: CarbonData
> Issue Type: Wish
> Reporter: baoqi
>
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)