Unknown exception / org.apache.calcite.runtime.CalciteContextException: From line 1, column 30 to line 1, column 59: Object 'wikiticker-sample-datasource' not found / org.apache.calcite.tools.ValidationException

Hi,

I am working on setting up druid on my local machine following the steps on druid’s website (https://druid.apache.org/docs/latest/tutorials/tutorial-batch.html). However, when I try to query the data with the SQL ‘SELECT * FROM “wikiticker-sample-datasource”’, it shows me the exception: Unknown exception / org.apache.calcite.runtime.CalciteContextException: From line 1, column 30 to line 1, column 59: Object ‘wikiticker-sample-datasource’ not found / org.apache.calcite.tools.ValidationException.

Can someone give me any idea how to solve this? Thanks ahead!

BTW: I am using JDK 11. I don’t know if that’s where the problem comes from.

Cheers,

Yusheng

Hi Yusheng,
Are you seeing your datasource wikiticker-sample-datasource in your web console in the data sources tab and sql tab?

Thanks,

–siva

Hi Siva,

I am seeing it in web console in the Datasources tab as well as the Query tab.

Thank you!

Yusheng