Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jdbc query tool - Feature not supported: getMoreResult #12

Open
joefromct opened this issue May 23, 2019 · 4 comments
Open

jdbc query tool - Feature not supported: getMoreResult #12

joefromct opened this issue May 23, 2019 · 4 comments

Comments

@joefromct
Copy link

Hi,

I'm happily connecting to ksql with a built/complied jar driver with a jdbc query tool.

I can run creates, shows, selects, describes, etc.

However, after I run anything at all, i seem to get the error message Feature not supported: getMoreResults.

Anyone else getting this?

Thanks,

show streams;

STREAM_NAME                             STREAM_TOPIC                     STREAM_FORMAT
--------------------------------------  -------------------------------  ----------------
my_stream                               my_topic                         JSON

1 record(s) selected [Fetch MetaData: 0ms] [Fetch Data: 2ms]

>[Error] Script lines: 1-2 --------------------------
Feature not supported: getMoreResults.

[Executed: 5/23/2019 3:37:32 PM] [Execution: 206ms]
@mmolimar
Copy link
Owner

Great @joefromct
All spec in JDBC isn't implemented. That's why.
Probably, in future versions we'll have more support to the spec.

@mmolimar
Copy link
Owner

mmolimar commented Aug 5, 2019

Can you try it with the new version?

@holgerbrandl
Copy link

I'm having a similar issues. I've just built the current master and configured a JDBC data source in Intellij/Pycharm. The connection can be established, but no matter what statement I execute the error is always [2019-10-02 12:51:50] Feature not supported: setFetchSize.

Example query: SELECT * FROM pageviews LIMIT 5;

I'd happily test any workaround or new versions.

@AndreaTosti
Copy link

AndreaTosti commented Mar 2, 2020

I'm having a similar issues. I've just built the current master and configured a JDBC data source in Intellij/Pycharm. The connection can be established, but no matter what statement I execute the error is always [2019-10-02 12:51:50] Feature not supported: setFetchSize.

Example query: SELECT * FROM pageviews LIMIT 5;

I'd happily test any workaround or new versions.

To get around the problem just add the following to the bottom of the KsqlStatement.scala code:
override def setFetchSize(rows: Int): Unit = {}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants