[Bug] pulsq sql report error: io.trino.spi.TrinoException: Failed to check the authorization for topic
- Dominant language
- Java
- Stars
- 15.3k
- Forks
- 3.8k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 160
Description
### Search before asking
- [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
### Version
1:pulsar-3.1
2:pulsar sql config
`pulsar.auth-plugin=org.apache.pulsar.client.impl.auth.AuthenticationToken
pulsar.auth-params=token:eyJhbGcixxxxx`
### Minimal reproduce step
trino> show tables in pulsar.'public/default';
Table
----------------
generator_test
my-topic-1
(2 rows)
Query 20240104_114603_00018_mav6n, FINISHED, 1 node
Splits: 35 total, 35 done (100.00%)
0.24 [2 rows, 72B] [8 rows/s, 298B/s]
trino> select * from pulsar."public/default".generator_test;
Query 20240104_114607_00019_mav6n failed: Failed to check the authorization for topic persistent://public/default/generator_test: The credential information is empty.
### What did you expect to see?
Data should be returned normally
### What did you see instead?

### Anything else?
none
### Are you willing to submit a PR?
- [x] I'm willing to submit a PR!
Contributor guide
Assessment
This issue has not been assessed yet.