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

Crash with psycopg2.errors.InvalidTextRepresentation (bigint) with last_modified = 1733242309482" #3475

Closed
leplatrem opened this issue Dec 10, 2024 · 0 comments · Fixed by #3477
Labels

Comments

@leplatrem
Copy link
Contributor

(psycopg2.errors.InvalidTextRepresentation) invalid input syntax for type bigint: "1733242309482""
LINE 7:             AND as_epoch(last_modified) > '1733242309482"'
                                                  ^

[SQL: 
            SELECT id, as_epoch(last_modified) AS last_modified, data
            FROM objects
            WHERE parent_id = %(parent_id)s
            AND resource_name = %(resource_name)s
            
            AND as_epoch(last_modified) > %(filters_value_0)s
            
            ORDER BY last_modified DESC
            LIMIT %(pagination_limit)s;
        ]
[parameters: {'parent_id': '/buckets/main/collections/quicksuggest', 'resource_name': 'record', 'filters_value_0': '1733242309482"', 'pagination_limit': 10001}]
(Background on this error at: https://sqlalche.me/e/20/9h9h

)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant