[ 
https://issues.apache.org/jira/browse/CALCITE-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14221711#comment-14221711
 ] 

Larry McCay commented on CALCITE-469:
-------------------------------------

[~vladimirsitnikov] - I didn't find the copy and paste confusing or anything - 
so I'd like to make sure that I understand what you want.

Multiple line copy that doesn't pick up the sqlline> prompt between lines - 
something like:

Simple Model
{code}
!connect jdbc:calcite:model=target/test-classes/model.json admin admin
!tables
!describe emps
SELECT * FROM emps;
EXPLAIN PLAN FOR SELECT * FROM emps;
{code}

More Complex Model
{code}
!connect jdbc:calcite:model=target/test-classes/smart.json admin admin
EXPLAIN PLAN FOR SELECT * FROM emps;
SELECT depts.name, count(*)
   FROM emps JOIN depts USING (deptno)
   GROUP BY depts.name;
VALUES char_length('hello, ' || 'world!');
{code}

Each of the above blocks can be copied and executed together from a paste.

> README.md instruction for compile in example for csv doesn't work
> -----------------------------------------------------------------
>
>                 Key: CALCITE-469
>                 URL: https://issues.apache.org/jira/browse/CALCITE-469
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Larry McCay
>            Assignee: Julian Hyde
>         Attachments: OPTIQ-469.patch
>
>
> mvn compile doesn't put the required files in the expected place for the 
> tutorial. Change to 'mvn clean install'.
> I will provide the oneliner patch. :)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to