Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue importing big catalog from VOTable #56

Open
jeandet opened this issue Nov 15, 2023 · 0 comments
Open

Issue importing big catalog from VOTable #56

jeandet opened this issue Nov 15, 2023 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@jeandet
Copy link
Member

jeandet commented Nov 15, 2023

Timetable_archive_20231115_1045.tar.gz

Importing this catalog I get:

In [2]: tscat.import_votable("/home/jeandet/Downloads/Timetable_archive_20231115_1045/THEMIS_MPcrossings_2007-2016_V1.xml")
---------------------------------------------------------------------------
OperationalError                          Traceback (most recent call last)
File ~/.local/lib/python3.10/site-packages/sqlalchemy/engine/base.py:1910, in Connection._execute_context(self, dialect, constructor, statement, parameters, execution_options, *args, **kw)
   1909     if not evt_handled:
-> 1910         self.dialect.do_execute(
   1911             cursor, statement, parameters, context
   1912         )
   1914 if self._has_events or self.engine._has_events:

File ~/.local/lib/python3.10/site-packages/sqlalchemy/engine/default.py:736, in DefaultDialect.do_execute(self, cursor, statement, parameters, context)
    735 def do_execute(self, cursor, statement, parameters, context=None):
--> 736     cursor.execute(statement, parameters)

OperationalError: too many SQL variables

The above exception was the direct cause of the following exception:
@jeandet jeandet added the bug Something isn't working label Nov 15, 2023
@pboettch pboettch added this to tscat Dec 7, 2023
@pboettch pboettch added this to the O-2023-03 milestone Dec 7, 2023
@jeandet jeandet modified the milestone: O-2023-03 Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

2 participants