Thanks for quick response Fangjin. Yes I have looked at the example but am not clear how to do it.
I have sample data which is in json format. I pass that data to spark sql and convert it to dataframe. I am using Java API to do this.
The example shows next I need to create a druid Datasource by creating a temporary table.
I am not sure what to set for druiddatasource, starschema values while creating temporary table. Also, do I need to setup Druid indexes before doing anything here ?
Thanks,
Purvi