-
Notifications
You must be signed in to change notification settings - Fork 11
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
Hints should not be runtime specific and should describe data only #259
Labels
Comments
Every operator will have on public Dataset<OUT> output(Hint... hints) E.g.: Dataset<T> smallDataset = Filter.named("filter to small data")
.of(bigDataset)
.by( //filter )
.output(SizeHint.FITS_IN_MEMORY); In case we want to give more information about transformation (not about dataset), there will be builder method described(String name, Hint... hints) FlatMap.described("extract-something", Hint.CPU_EXPENSIVE)
.of(dataset)
.using( //extracting)
.output(); Use cases where it will be useful:
|
mareksimunek
added a commit
that referenced
this issue
Feb 16, 2018
mareksimunek
added a commit
that referenced
this issue
Feb 16, 2018
mareksimunek
added a commit
that referenced
this issue
Mar 7, 2018
mareksimunek
added a commit
that referenced
this issue
Mar 7, 2018
mareksimunek
added a commit
that referenced
this issue
Mar 7, 2018
mareksimunek
added a commit
that referenced
this issue
Mar 8, 2018
mareksimunek
added a commit
that referenced
this issue
Mar 8, 2018
mareksimunek
added a commit
that referenced
this issue
Mar 8, 2018
fixed tests [euphoria-core] hints in getBasicOps are only on last operator [euphoria-core] code style corrections [euphoria-core] code style corrections 2
dmvk
added a commit
that referenced
this issue
Mar 8, 2018
[euphoria-core] #259 Hints are not runtime specific.
mareksimunek
added a commit
that referenced
this issue
May 4, 2018
mareksimunek
added a commit
that referenced
this issue
May 4, 2018
fixed tests [euphoria-core] hints in getBasicOps are only on last operator [euphoria-core] code style corrections [euphoria-core] code style corrections 2
mareksimunek
pushed a commit
that referenced
this issue
May 4, 2018
[euphoria-core] #259 Hints are not runtime specific.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The current implementation of hints is not portable among runtimes. We should move hints to euphoria-core and they should describe dataset, not the operator implementation.
Eg.
JoinHint.BroadcastHashJoin
should become something likeSizeHint.FITS_IN_MEMORY
The text was updated successfully, but these errors were encountered: