@aqua123 Are you doing a parametrized query in the UI too? If not, can you try using a parametrized query in the UI. You can set the named parameters if you click on the “preferences” on the right side of the Query Workbench UI. Do you still get results from the UI?
Do you see any errors in the SDK logs?
@aqua123 as far as I know the bucket name can not be parameterized. Can you try to only parameterize the part of the where clause and hardcode the bucket name?
You should also check the errors section of the java query result to make sure you got a non-error response from the server in the first place here.