-
Notifications
You must be signed in to change notification settings - Fork 0
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
Use ndc-postgres
query engine
#57
Conversation
c6eb17a
to
252206c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quite an amount of copy pasta, with only a few Postgres leftovers that I could find.
Considering how relatively small the difference is it'd be great in the future to distill some of those shared chunks into a shared library.
crates/query-engine/translation/src/translation/query/operators.rs
Outdated
Show resolved
Hide resolved
configuration: &DeploymentConfiguration, | ||
) -> Result<DeploymentConfiguration, connector::ValidateError> { | ||
if configuration.version != 1 { | ||
config: DeploymentConfiguration, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I take it that the current Sql Server implementation does not include any introspection and just relies on the deployment files from Postgres for e.g tests etc?
If it did have an introspection ability that would have to updated substantially as well with this new change dump.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
100% - once introspection goes in I guess these types will change a bunch.
…s.rs Co-authored-by: Philip Lykke Carlsen <[email protected]>
Co-authored-by: Philip Lykke Carlsen <[email protected]>
Co-authored-by: Philip Lykke Carlsen <[email protected]>
What
ndc-postgres
has changed a bunch since we forked from it. This grabs thendc-postgres
query engine, and then fixes it for SQLServer again. All the existing tests pass, there are probably new ones we can add as we check new functionality such as Native Queries.How
Copy and paste and then fix things.
Minimal changes were made in the
ndc-sqlserver
crate, only enough to get everything working