You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the package, it's easy to use and to run.
We faced 2 problems when running it:
A SQL query that was too long to run
A SQL query generated an error in the log
To debug these problems, it is helpful to have the generated SQL queries to run them in a database IDE. I think it would be easier to debug with easy access to the generated SQL queries, so I would like to suggest the following:
If a SQL error occurs, log the SQL query with the error:
Add a debug mode to log the SQL queries
The default INFO threshold could be passed as a parameter to the CatalogueExport::catalogueExport() function and if set to "debug", SQL queries would go to the log.
For example:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Thanks for the package, it's easy to use and to run.
We faced 2 problems when running it:
To debug these problems, it is helpful to have the generated SQL queries to run them in a database IDE. I think it would be easier to debug with easy access to the generated SQL queries, so I would like to suggest the following:
The default INFO threshold could be passed as a parameter to the CatalogueExport::catalogueExport() function and if set to "debug", SQL queries would go to the log.
For example:
So if a SQL query is too long to run, it's easier to see what is the SQL query that is posing a problem.
Beta Was this translation helpful? Give feedback.
All reactions