-
Notifications
You must be signed in to change notification settings - Fork 466
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
create table from source: source limits are not applied #29556
Comments
@nrainer-materialize I don't know that this is an issue, or at least it's working as desired based on the current implementation: The limit on sources actually appears to be a limit on the number of 'persist-shards' in-use by a source: materialize/src/adapter/src/coord/ddl.rs Lines 1562 to 1577 in 598b74a
The limitation uses this method to determine how many 'persist shards' are actually needed by a given source: materialize/src/catalog/src/memory/objects.rs Lines 793 to 832 in 598b74a
Given that the If we want to make this limit sources based on the number of source-statements, then we would have to change this logic, but since I did not implement or design the original behavior I am not sure that is something we want. @morsapaes do you have an opinion on this? |
What version of Materialize are you using?
e8e6737
What is the issue?
Given
the statement
should fail with "creating source would violate max_sources limit (desired: 3, limit: 2, current: 0)" but does not.
The text was updated successfully, but these errors were encountered: