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
I'm trying to do a somewhat complicated JOIN and INSERT operation that causes a panic every single time. I don't have a simple repro.
After some more digging, the newly created table hadn't been added to the vschema yet. Once I added prep_to_copy_rankings to the vschema, it quit panicking.
Still panics when fields are specified before the SELECT
Still panics when rewriting USING to ON
SELECT works by itself
CREATE TABLE AS SELECT ... also works
INSERT INTO prep_to_copy_rankings
SELECT
search_id,
requested,
keyword_id,
search_provider_id,
serp_id,
html_loc,
proto_loc,
extractor_version_id,
score,
requested_at,
retrieved_at,
extracted_at,
completed_at,
s.invalidated_atAS search_invalidated_at,
prv_p.invalidated_atAS search_provider_invalidated_at,
srp_p.invalidated_atAS serp_invalidated_at
FROM searches s
LEFT JOIN searches_providers prv USING (search_id, keyword_id)
LEFT JOIN searches_providers_pipeline prv_p USING (search_provider_id, keyword_id)
LEFT JOIN searches_providers_serps srp USING (search_provider_id, keyword_id)
LEFT JOIN searches_providers_serps_pipeline srp_p USING (serp_id, keyword_id)
WHERE search_id >=10000AND search_id <100000;
Overview of the Issue
I'm trying to do a somewhat complicated JOIN and INSERT operation that causes a panic every single time. I don't have a simple repro.
After some more digging, the newly created table hadn't been added to the vschema yet. Once I added
prep_to_copy_rankings
to the vschema, it quit panicking.Reproduction Steps
keyword_id
USING
toON
SELECT
works by itselfCREATE TABLE AS SELECT ...
also worksBinary Version
Operating System and Environment details
Log Fragments
The text was updated successfully, but these errors were encountered: