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

Tracking issue: Introduce proxy module #681

Closed
ShiKaiWi opened this issue Mar 1, 2023 · 4 comments
Closed

Tracking issue: Introduce proxy module #681

ShiKaiWi opened this issue Mar 1, 2023 · 4 comments
Assignees
Labels
feature New feature or request

Comments

@ShiKaiWi
Copy link
Member

ShiKaiWi commented Mar 1, 2023

Describe This Problem

Currently, it is just a simple module called forwarder that forwards the sql query to the right server, but more work can't be handled by the forwarder, including:

  • Forward according to the sql rather than the table hints in the sql query;
  • Forward all the requests besides the sql query;
  • Able to finish query/write about the partitioned table;

Proposal

Design a proxy module which can serve as a separate service or a module in the ceresdb-server.

Additional Context

No response

@ShiKaiWi ShiKaiWi added the feature New feature or request label Mar 1, 2023
@chunshao90
Copy link
Contributor

Support automatic table creation in proxy.

@chunshao90 chunshao90 self-assigned this Mar 2, 2023
@jiacai2050
Copy link
Contributor

Forward according to the sql rather than the table hints in the sql query;

SQL may not enough, other query language should also be supported.

@chunshao90 chunshao90 changed the title Introduce proxy module Tracking issue: Introduce proxy module Mar 8, 2023
@chunshao90
Copy link
Contributor

chunshao90 commented Mar 8, 2023

I am going to introduce the proxy module, and all protocol layers request the proxy module. The proxy module supports Forward, Auth, PartitionTable query.

image

@chunshao90
Copy link
Contributor

chunshao90 commented Mar 8, 2023

I split the work into the following tasks:

@ShiKaiWi ShiKaiWi pinned this issue Mar 9, 2023
This was referenced Mar 13, 2023
@chunshao90 chunshao90 unpinned this issue May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants