Druid Lookup is loaded but not available for querying

I am using Druid 0.17.0 and I have created a lookup and After checking it’s status via API, I can see it is loaded.

But when I am trying to query ( SELECT * FROM LOOKUP.test1)
it via console, I am getting error:
Failed to handle query: SqlQuery{query=‘SELECT * FROM LOOKUP.test1’, resultFormat=ARRAY, header=true, context={sqlOuterLimit=100}}
org.apache.calcite.tools.ValidationException: org.apache.calcite.runtime.CalciteContextException: From line 1, column 15 to line 1, column 26: Object ‘LOOKUP’ not found
at org.apache.calcite.prepare.PlannerImpl.validate(PlannerImpl.java:217) ~[calcite-core-1.21.0.jar:1.21.0]
at org.apache.druid.sql.calcite.planner.DruidPlanner.plan(DruidPlanner.java:94) ~[druid-sql-0.17.0.jar:0.17.0]
at org.apache.druid.sql.SqlLifecycle.plan(SqlLifecycle.java:141) ~[druid-sql-0.17.0.jar:0.17.0]
at org.apache.druid.sql.SqlLifecycle.plan(SqlLifecycle.java:152) ~[druid-sql-0.17.0.jar:0.17.0]
at org.apache.druid.sql.SqlLifecycle.planAndAuthorize(SqlLifecycle.java:218) ~[druid-sql-0.17.0.jar:0.17.0]
at org.apache.druid.sql.http.SqlResource.doPost(SqlResource.java:91) [druid-sql-0.17.0.jar:0.17.0]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_282]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_282]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_282]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_282]
at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) [jersey-server-1.19.3.jar:1.19.3]
at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205) [jersey-server-1.19.3.jar:1.19.3]

I don’t have access to your version of druid right now, but did you try with lower case ‘lookup’ assuming it’s in the default schema? You can confirm the syntax here: