-
Notifications
You must be signed in to change notification settings - Fork 60
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
rename table client -> engine interface #107
Conversation
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.
👍
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.
This is definitely an improvement, but part of me wonders whether "client" is just plain the wrong word? This is more like an EngineInterface
concept, no?
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.
just to throw another idea out: what about just Engine
trait?
people may be tired of hearing this, but there happens to be a somewhat famous saying around naming things in CS 😆. Just thinking out loud here, but to me, I guess what we are asking from the engine is to provide us with a set of capabilities - implement a specific API - which may a case for Since we are essentially saying, that the engine side of things should do all the heavy lifting - i.e. without it out actions are just empty statements, it may be called just Somehow the thing that is somehow special to me here, that we are also asking the engine to provide us with a data format it wants to work with, so its not only implementing the execution of actions but also what these actions should act on ... not sure if this is correct, but Looking at may ramblings this may not even be helpful 😆. I guess |
one more thought came up - in query engine terms, is kernel maybe doing the planning, and the engine is doing the execution? |
going out on a limb here, and thinking also about the ffi case. since the top level thing is not doing anything and just providing us access to the specific sub capabilities - is it maybe just an |
It's quite likely FFI code will surface a notion of "handle" soon, to identify data structures defined by kernel or engine that are opaque to the other. Hopefully without giving up the last remnants of strong typing. That's still under heavy prototyping tho, so we probably shouldn't wait for it to stabilize before merging this PR. |
doesn't touch DefaultTableClient yet
6c9efe1
to
c58d1e4
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.
lgtm
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.
Nice!
Co-authored-by: Ryan Johnson <[email protected]>
Simple rename of
TableClient
toEngineInterface
andtable_client
toengine_interface
.I was going to do this as part of the big PR for data passing, but I think actually doing this first will make the review less painful, so I've pulled it out.
Doesn't touch DefaultTableClient yet, that can be renamed separately.