asmuth / clip

Create charts from the command line

Home Page:https://clip-lang.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Postgres Support Without Import

sidazhang opened this issue · comments

Question 1:

Is it possible to support postgresl?

Question 2:

From what I understand, data must be first imported into fnordmetric. So if I have a big table this might be pretty time consuming. Is it possible to use fnordmetric-server to directly connect to my existing database and query against it without doing an import first

This would be extremely valuable if people are able to generate charts by directly querying their own database. Currently, the only alternatives are very expensive (like http://chartio.com/ which costs $1000+ a month)

Hey,

Question 1: The Postgres backend is not implemented yet but is on our roadmap. Expect an update on that in the next weeks.

Question 2: The name of the IMPORT statement is a bit misleading. The IMPORT statement only creates a "virtual table", it doesn't actually copy any data. As much of the query as possible is pushed down into MySQL/the external data source and the charts will be generated from the query result that is returned by the external data source. So I think the IMPORT statement already does what you're asking for.

Many thanks for your support and contributions to FnordMetric.