Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'time_bucket' function clashes with timescaledb #150

Closed
2 tasks done
ssidorenko opened this issue Oct 10, 2024 · 8 comments
Closed
2 tasks done

'time_bucket' function clashes with timescaledb #150

ssidorenko opened this issue Oct 10, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@ssidorenko
Copy link

What happens?

When creating extension on a server with timescaledb already created, it fails because the function name time_bucket is already taken.

To Reproduce

  • Install timescaledb
  • Install pg_analytics

OS:

Linux x64 (Alma Linux 9.4)

ParadeDB Version:

0.1.4

Are you using ParadeDB Docker, Helm, or the extension(s) standalone?

ParadeDB pg_analytics Extension

Full Name:

Semion Sidorenko

Affiliation:

Sidorenko Consulting

Did you include all relevant data sets for reproducing the issue?

Yes

Did you include the code required to reproduce the issue?

  • Yes, I have

Did you include all relevant configurations (e.g., CPU architecture, PostgreSQL version, Linux distribution) to reproduce the issue?

  • Yes, I have
@ssidorenko ssidorenko added the bug Something isn't working label Oct 10, 2024
@philippemnoel
Copy link
Collaborator

Hey @ssidorenko! We haven't really invested effort in making pg_analytics compatible with Timescale. What is your use case?

If you'd like to submit a patch for this, we'd love. But otherwise I'm going to close this as a non-issue.

@philippemnoel philippemnoel closed this as not planned Won't fix, can't repro, duplicate, stale Oct 13, 2024
@cobolbaby
Copy link

cobolbaby commented Oct 17, 2024

Why install third-party extensions in the public schema? Is there a way to configure them to be installed in the default schema?

@philippemnoel

@phyk
Copy link

phyk commented Oct 24, 2024

We have a use case where we want to have a delta table managed by pg_analytics on the one hand and streaming data ingested into the postgres on the other hand. From what I can see pg_analytics does not support a) streaming data efficiently and b) providing a way to do real time analytics as timescaledb does.

For that reason a combination of both would be beneficial?

@phyk
Copy link

phyk commented Oct 24, 2024

Cross linked the issue here timescale/timescaledb#7387

@philippemnoel
Copy link
Collaborator

Cross linked the issue here timescale/timescaledb#7387

Terrific, thank you!

@philippemnoel philippemnoel reopened this Oct 24, 2024
@philippemnoel
Copy link
Collaborator

If this is required for Timescale compatibility, we're happy to rename the functions/remove them. I dont' think they're used actively today.

@ssidorenko
Copy link
Author

We have a use case where we want to have a delta table managed by pg_analytics on the one hand and streaming data ingested into the postgres on the other hand. From what I can see pg_analytics does not support a) streaming data efficiently and b) providing a way to do real time analytics as timescaledb does.

For that reason a combination of both would be beneficial?

We had a very similar situation. For unrelated reasons, I ended up going for a different architecture that did not use pg_analytics, but at the time it sure would have been nice to be able to have both extensions in the same DB. I had to provision separate database instances instead one for timescale and one for pg_analytics, and use FDWs or Trino for cross-db querying.

@philippemnoel
Copy link
Collaborator

I removed the datetime function, since it wasn't being used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants