ibis-project / ibis-birdbrain

portable Python ML-powered data bot
https://ibis-project.github.io/ibis-birdbrain/
Apache License 2.0
23 stars 4 forks source link

transpile sql between dialects #54

Closed lostmygithubaccount closed 3 months ago

lostmygithubaccount commented 4 months ago

implement the bot.transpile_sql (currently called translate_sql, recommend renaming) method likely just using SQLGlot directly

takes a SQL string as input. along w/ #53, good motivation for better attachment methods (get last SQL Attachment, get a SQL attachment by some input text, etc.)

jitingxu1 commented 3 months ago

was resolved by https://github.com/ibis-project/ibis-birdbrain/pull/58