l-e-s opened a new issue, #42085:
URL: https://github.com/apache/superset/issues/42085

   ### Bug description
   
   SQL Lab does not show structure of oracle tables if (edit database - 
Advanced - Performance) Schema cache timeout and Table cache timeout fields are 
empty. Instead, an error appears in superset-app container log:
   ```
   "GET /api/v1/database/4/tables/?q=(force:!t,schema_name:<...>) HTTP/1.1" 422 
<...>
   2026-07-13 21:48:44,457:WARNING:superset.utils.log:value is not an integer 
or out of range
   Traceback (most recent call last):
     File "/app/superset/commands/database/tables.py", line 70, in run
       for datasource_name in self._model.get_all_table_names_in_schema(
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File "/app/superset/utils/cache.py", line 162, in wrapped_f
       cache.set(cache_key, obj, timeout=cache_timeout)
     File "/app/.venv/lib/python3.11/site-packages/flask_caching/__init__.py", 
line 203, in set
       return self.cache.set(*args, **kwargs)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File "/app/.venv/lib/python3.11/site-packages/cachelib/redis.py", line 96, 
in set
       result = self._write_client.setex(
                ^^^^^^^^^^^^^^^^^^^^^^^^^
     File "/app/.venv/lib/python3.11/site-packages/redis/commands/core.py", 
line 2360, in setex
       return self.execute_command("SETEX", name, time, value)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ```
   Tested on Superset 6.0.0, 6.1.0, latest (commit 
3dd5e69714fe295ab979b9d58071ed7b640053c0), all are compiled from source with 
oracle support, running in docker.
   requirements-local.txt: oracledb, authlib, sqlglot==30.8.0
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.11
   
   ### Node version
   
   I don't know
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   Oracle instantclient-basic-linux.x64-23.4.0.24.05 also installed
   
   
   ### Checklist
   
   - [x] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [x] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [x] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to