Bug in ODBC Driver (SEGFAULT) - including full reproduction
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
This gist explains in detail, including root cause and reproduction: https://gist.github.com/rick-boyd-hightouch/35ff96d96edd2d15c39205c4b56527e4
Basically the start/end parsing added for SQL scripting counts any `--` in the SQL text as a comment initiation, and can cause stack overflows on long lines due to recursive regex parsing per-character. There are no workarounds discovered so far, and the earlier versions of the driver (<= 2.9.2) are not available in ARM, so we are stuck...
SIGSEGV in Databricks ODBC driver ≥ 2.9.4: `std::regex` stack overflow while scanning submitted SQL for comments - README.md
