Skip to content

Db routing rules#772

Closed
mosabua wants to merge 2 commits intotrinodb:mainfrom
simpligility:db-routing-rules
Closed

Db routing rules#772
mosabua wants to merge 2 commits intotrinodb:mainfrom
simpligility:db-routing-rules

Conversation

@mosabua
Copy link
Copy Markdown
Member

@mosabua mosabua commented Sep 30, 2025

Description

Continuation of work from #635. .. for now just created new PR to preserve the work from @willmostly .. no idea when I will be able to proceed here .. potentially others can also use this as base

Additional context and related issues

Release notes

( ) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required, with the following suggested text:

* Fix some things.

@Peiyingy
Copy link
Copy Markdown
Member

Hey @mosabua, we’re currently prioritizing the implementation of DB-backed routing rules at LinkedIn. You can find the full proposal here: #675. I’ve assigned the issue to myself, and we’ll be leading the development and opening a PR for review soon.

INSERT INTO routing_rules (name, description, priority, conditionExpression, actions, routingRuleEngine)
VALUES (:name, :description, :priority, :condition, :actions, :routingRuleEngine)
""")
void createNoListSupport(String name, String description, Integer priority, String condition, String actions, RoutingRuleEngine routingRuleEngine);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see a difference in the create and the createNoListSupport.
Similarly, the update and the updateNoListSupport seems to be identical as well.

What's the purpose of these two methods being distinct?


@SqlQuery("SELECT * FROM routing_rules")
@UseRowMapper(RoutingRulesStringToListMapper.class)
List<RoutingRule> getAllNoListSupport();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this distinct from the getAll() method on line 33?

@github-actions
Copy link
Copy Markdown

This pull request has gone a while without any activity. Ask for help on #trino-gateway-dev on Trino slack.

@github-actions github-actions Bot added the stale label Jan 27, 2026
@github-actions
Copy link
Copy Markdown

Closing this pull request, as it has been stale for six weeks. Feel free to re-open at any time.

@github-actions github-actions Bot closed this Feb 17, 2026
@mosabua
Copy link
Copy Markdown
Member Author

mosabua commented Feb 18, 2026

A replacement PR from @EdenKik is in the works so this can stay closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

4 participants