Re: Issue with date literal in where clause

2016-04-04 Thread Julian Hyde
This might be related to https://issues.apache.org/jira/browse/CALCITE-1054 or https://issues.apache.org/jira/browse/CALCITE-1075 . I think the problem is that Calcite uses Integer (or int)

Issue with date literal in where clause

2016-04-04 Thread Sanjay Prasad
Hi Guys, I am using calcite 1.7 to issue this query against a custom table that I have registered : PreparedStatement statement = calConn.prepareStatement( "select * from \"employee\" \"e\" where \"join_date\" < {d '1990-01-01'}"); This gives me a runtime error

Re: Thoughts on Avatica user auth?

2016-04-04 Thread Julian Hyde
That’s perfect — sorry I didn’t get back to you. > On Apr 4, 2016, at 8:58 AM, Josh Elser wrote: > > I've gone ahead and merged in what I have written. I made sure the > documentation for the password-auth Avatica-provided auth were clearly marked > as *only* intended

Re: Proposed April report for Calcite

2016-04-04 Thread Julian Hyde
Thanks for the reviews - I have submitted the report to the board. Michael’s appointment as a committer happened after March 31st so will be in the next report. Julian > On Apr 2, 2016, at 5:11 PM, Josh Elser wrote: > > LGTM! > > On Apr 2, 2016 2:56 AM, "Julian Hyde"

Calcite-Avatica-Master-JDK-1.7 - Build # 8 - Still Unstable

2016-04-04 Thread Apache Jenkins Server
The Apache Jenkins build system has built Calcite-Avatica-Master-JDK-1.7 (build #8) Status: Still Unstable Check console output at https://builds.apache.org/job/Calcite-Avatica-Master-JDK-1.7/8/ to view the results.

Re: Starting a transaction with avatica and a few other things

2016-04-04 Thread F21
I think I am misunderstanding your comment from PHOENIX-1181. - If I set maxRowCount to 100, and the query returns 250 entries, I should get 1 frame containing 100 rows back with the option to fetch more rows (with the amount of rows subject to the maxRowCount of the fetch request), right?

Re: Starting a transaction with avatica and a few other things

2016-04-04 Thread Josh Elser
Oh, cool. Didn't realize that was you :). Much appreciated. I'm not sure I understand your question. A Frame is a collection of rows (in the context of a SELECT, anyways). In the traditional JDBC sense, a ResultSet is backed by many Frames. The common case is the following. Given some batch

Re: Starting a transaction with avatica and a few other things

2016-04-04 Thread F21
Ah, makes sense. Also,should the offset be incremented on a per frame or a per row basis? Regarding the offsets being 0, I opened CALCITE-1181, so hopefully we can get that sorted. On 4/04/2016 11:57 PM, Josh Elser wrote: Hrm, I'm not sure off the top of my head how the offset returned by the

[jira] [Created] (CALCITE-1187) JSON error code is -1

2016-04-04 Thread Kevin Liew (JIRA)
Kevin Liew created CALCITE-1187: --- Summary: JSON error code is -1 Key: CALCITE-1187 URL: https://issues.apache.org/jira/browse/CALCITE-1187 Project: Calcite Issue Type: Bug

[jira] [Created] (CALCITE-1185) Send back ErrorResponse on failure to parse requests

2016-04-04 Thread Josh Elser (JIRA)
Josh Elser created CALCITE-1185: --- Summary: Send back ErrorResponse on failure to parse requests Key: CALCITE-1185 URL: https://issues.apache.org/jira/browse/CALCITE-1185 Project: Calcite Issue

Re: [ANNOUNCE] New committer: Michael Mior

2016-04-04 Thread Michael Mior
Thanks all for the warm welcome! Looking forward to working with everyone :) -- Michael Mior michael.m...@gmail.com 2016-04-04 16:13 GMT-04:00 Julian Hyde : > On behalf of the PMC I am delighted to announce Michael Mior as a new > Calcite committer. > > Michael joined our

Re: [ANNOUNCE] New committer: Michael Mior

2016-04-04 Thread Jacques Nadeau
Congrats, welcome! On Mon, Apr 4, 2016 at 1:17 PM, Josh Elser wrote: > Yay! Welcome, Michael! > > > Julian Hyde wrote: > >> On behalf of the PMC I am delighted to announce Michael Mior as a new >> Calcite committer. >> >> Michael joined our community fairly recently, but

Re: [ANNOUNCE] New committer: Michael Mior

2016-04-04 Thread Josh Elser
Yay! Welcome, Michael! Julian Hyde wrote: On behalf of the PMC I am delighted to announce Michael Mior as a new Calcite committer. Michael joined our community fairly recently, but when he showed up, he had already written a Cassandra adapter. It took very little assistance from us to get

Re: [ANNOUNCE] New committer: Michael Mior

2016-04-04 Thread Vladimir Sitnikov
Welcome aboard, Michael. Well deserved. Vladimir

Calcite-Avatica-Master-JDK-1.7 - Build # 6 - Fixed

2016-04-04 Thread Apache Jenkins Server
The Apache Jenkins build system has built Calcite-Avatica-Master-JDK-1.7 (build #6) Status: Fixed Check console output at https://builds.apache.org/job/Calcite-Avatica-Master-JDK-1.7/6/ to view the results.

Calcite-Avatica-Master-JDK-1.8 - Build # 4 - Fixed

2016-04-04 Thread Apache Jenkins Server
The Apache Jenkins build system has built Calcite-Avatica-Master-JDK-1.8 (build #4) Status: Fixed Check console output at https://builds.apache.org/job/Calcite-Avatica-Master-JDK-1.8/4/ to view the results.

[jira] [Created] (CALCITE-1184) Update Kerby dependency to 1.0.0-RC2

2016-04-04 Thread Josh Elser (JIRA)
Josh Elser created CALCITE-1184: --- Summary: Update Kerby dependency to 1.0.0-RC2 Key: CALCITE-1184 URL: https://issues.apache.org/jira/browse/CALCITE-1184 Project: Calcite Issue Type: Task

Calcite-Avatica-Master-JDK-1.8 - Build # 2 - Unstable

2016-04-04 Thread Apache Jenkins Server
The Apache Jenkins build system has built Calcite-Avatica-Master-JDK-1.8 (build #2) Status: Unstable Check console output at https://builds.apache.org/job/Calcite-Avatica-Master-JDK-1.8/2/ to view the results.

Re: Starting a transaction with avatica and a few other things

2016-04-04 Thread Josh Elser
Hrm, I'm not sure off the top of my head how the offset returned by the server operates. If it's not returning the offset for the current "batch" of results, that's an accidental omission (but a client can easily track the offset, which would explain how the omission happened in the first