Hi All,

so it's open as a draft PR as I do not expect it to be a one shot perfect 
solution if I do it on my own.
https://github.com/apache/iotdb/pull/19350

There's something where my IoTDB table model query foo is just not as good as I 
would like it to be.
There are a number of incoming recorded queries in 
external-service-impl/postgresql/src/test/resources/corpus/
And external-service-impl/postgresql/src/test/resources/corpus/expected/ 
contains how these would map to 
the matching incoming queries. 

I think it would be good if tabble model gurus could have a look if all id good 
here.

Chris

PS: I'm strating to experiment with this as soon as I managed to setup a 
throw-away Windows VM with power BI ;-)



Pengcheng Zheng <[email protected]> schrieb am Freitag, 20. November 2026 um 
10:56:

> Hi Chris, Xuan,
> 
> +1 from me as well!
> 
> With the growing popularity of PostgreSQL and its broad ecosystem, I
> believe supporting the PostgreSQL wire protocol would be a valuable
> addition to IoTDB. It shall significantly lower the integration barrier for
> existing tools and applications, beyond just Power BI.
> 
> In fact, I recently heard from users who were considering migrating from
> TimescaleDB to IoTDB and asking about PostgreSQL protocol compatibility.
> This suggests there could be real demand for such an adapter, particularly
> in migration scenarios.
> 
> Looking forward to seeing this contribution!
> 
> 
> LG
> 
> Pengcheng
> 
> 
> Am Do., 19. Nov. 2026 um 23:38 Uhr schrieb Christofer Dutz via dev <
> [email protected]>:
> 
> > Hi Xuan,
> >
> > ok ... then I'll whip up an upstream friendly version of it once I'm
> > finished.
> >
> > Chris
> >
> >
> >
> > Wang Critas <[email protected]> schrieb am Donnerstag, 19. November 2026
> > um 14:57:
> >
> > > Hi Chris,
> > >
> > > I think this is a great idea. Supporting the PostgreSQL wire protocol as
> > an optional extension service/module sounds very valuable — it would make
> > IoTDB much easier to integrate with PowerBI and the broader PostgreSQL/BI
> > ecosystem, and could greatly improve ecosystem expansion.
> > >
> > > If you’re willing to build it in an upstream-friendly way, I’d
> > definitely welcome that. I’d suggest keeping it pluggable/optional so it
> > doesn’t complicate the core, and documenting the supported PG
> > protocol/client compatibility clearly. Happy to help review or test if
> > useful.
> > >
> > > +1 from me.
> > >
> > >
> > > Best regards,
> > > Xuan Wang
> > > ________________________________
> > > From: Christofer Dutz via dev <[email protected]>
> > > Sent: Thursday, 19 November 2026 21:33:44
> > > To: [email protected] <[email protected]>
> > > Cc: Christofer Dutz <[email protected]>
> > > Subject: PostgresSQL Wire format Service intersting?
> > >
> > > Hi all,
> > >
> > > as you might know I'm working on an embedded version of IoTDB. One of
> > the things I now heard multiple times is "Can I use PowerBI with that?".
> > > I remember at that time I worked on an IoTDB ODBC driver (no idea if
> > that was finished after I left) in order to suppot PowerBI users.
> > > But there seems to be a better approach: Instead of us wrapping a
> > super-crappy protocol that doesn't really fit on both sides, how about
> > adopting one that does?
> > >
> > > So after a bit of searching, it seems that PostgresSQL is a
> > first-class-citizen in PowerBI and it allows directly communicating with PG
> > databases.
> > >
> > > So I'm currently working on a new "service" module that supports the PG
> > wire protocol ... theoratically any PG client should be able to connect to
> > IOTDB with that.
> > >
> > > Is this something you folks here would welcome? If yes I would do my
> > work in a way I can upstream it, if not I won't invest the extra work.
> > >
> > > Chris
> > >
> >
>

Reply via email to