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

chore: Get most of the rpc tests working #2472

Merged
merged 4 commits into from
Jan 22, 2024
Merged

chore: Get most of the rpc tests working #2472

merged 4 commits into from
Jan 22, 2024

Conversation

scsmithr
Copy link
Member

No description provided.

@scsmithr scsmithr changed the title chore: Get rest of the rpc tests working chore: Get most of the rpc tests working Jan 21, 2024
@scsmithr scsmithr marked this pull request as ready for review January 21, 2024 22:58
Copy link
Contributor

@tychoish tychoish left a comment

Choose a reason for hiding this comment

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

I have read this in a "bearing witness" sort of way. Nothing seems objectionable.

'sqllogictests/allowed_operations'
just slt --protocol=rpc "sqllogictests/*" \
--exclude "sqllogictests/functions/cache_external_database_tables" \
--exclude "sqllogictests/functions/kdl" \
Copy link
Contributor

Choose a reason for hiding this comment

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

I have no idea why this wouldn't work. Seems suspect.

Copy link
Member Author

Choose a reason for hiding this comment

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

We're just passing in the default function registry here: https://github.com/glaredb/glaredb/blob/f0da39cb5c2d2453b7aee3e5ea27f14af785b108/crates/rpcsrv/src/session.rs#L58-L62

It's a trait that we can implement, but the TaskContext also implements it (which you get from a datafusion session context).

@scsmithr scsmithr merged commit 9eab113 into main Jan 22, 2024
20 checks passed
@scsmithr scsmithr deleted the sean/all-rpc-tests branch January 22, 2024 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants