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
{{ message }}
Repository navigation
Bug: DROP MACRO IF EXISTS throws when the macro does not exist #1327
This work was produced with the help of language models.
DROP MACRO IF EXISTS on a missing macro throws, while DROP TABLE IF EXISTS and DROP SEQUENCE IF EXISTS return a message. The IF EXISTS message is appended and Catalog::dropMacro then runs anyway:
DROPMACROIFEXISTSmissing_m; // Catalog exception: Macro missing_m doesn't exist.DROPTABLEIFEXISTSmissing_t; // Table missing_t does not exist.DROPSEQUENCEIFEXISTSmissing_s; // Sequence missing_s does not exist.
Expected:Macro missing_m does not exist. Actual:Catalog exception: Macro missing_m doesn't exist.
Activity