[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pandas as a backend to SQL queries using Calcite as translator


if I understand your question correctly, you want to "transform" a SQL Statement into calls to pandas, is this right?
If so, you could implement a specific Call Convention, see [1].

By implementing your own Implementor you could then build together your pandas call.


[1] https://github.com/apache/calcite/blob/9721283bd0ce46a337f51a3691585cca8003e399/core/src/main/java/org/apache/calcite/adapter/enumerable/EnumerableConvention.java

Am 09.11.18, 16:18 schrieb "M." <infinity.probability@xxxxxxxxx>:

    Hi all,
    Is it possible to use Pandas as a backend for computing the operations
    parsed from SQL statements? I'm researching a way to parse SQL into Pandas
    operations and maybe Calcite would be a way to do that.