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

Remove velox prefix in proto files #6

Merged
merged 1 commit into from
May 6, 2022
Merged

Conversation

rui-mo
Copy link
Collaborator

@rui-mo rui-mo commented May 6, 2022

To satisfy the needs of Meta's internal tests, the Substrait proto files were added with some Velox prefixes, which would cause compilation failure on other test environments. This PR removed them.

@rui-mo rui-mo merged commit 4601419 into oap-project:main May 6, 2022
YantingTao1315 referenced this pull request in Intel-bigdata/velox Aug 19, 2022
…tor#1500)

Summary:
Enhance printExprWithStats to identify common-sub expressions.

For example, `c0 + c1` is a common sub-expression in
`"(c0 + c1) % 5", " (c0 + c1) % 3"` expression set. It is evaluated only once and
there is a single Expr object that represents it. That object appears in the
expression tree twice. printExprWithStats does not show the runtime stats for
second instance of that expression and instead annotates it with `[CSE https://github.com/facebookincubator/velox/issues/2]`,
where CSE stands for common sub-expression and 2 refers to the first instance
of the expression.

```
mod [cpu time: 50.49us, rows: 1024] -> BIGINT [#1]
   cast(plus as BIGINT) [cpu time: 68.15us, rows: 1024] -> BIGINT [#2]
      plus [cpu time: 51.84us, rows: 1024] -> INTEGER [#3]
         c0 [cpu time: 0ns, rows: 0] -> INTEGER [#4]
         c1 [cpu time: 0ns, rows: 0] -> INTEGER [#5]
   5:BIGINT [cpu time: 0ns, rows: 0] -> BIGINT [#6]

mod [cpu time: 49.29us, rows: 1024] -> BIGINT [#7]
   cast((plus(c0, c1)) as BIGINT) -> BIGINT [CSE #2]
   3:BIGINT [cpu time: 0ns, rows: 0] -> BIGINT [#8]
```

Pull Request resolved: facebookincubator#1500

Reviewed By: Yuhta

Differential Revision: D35994836

Pulled By: mbasmanova

fbshipit-source-id: 6bacbbe61b68dad97ce2fd5f99610c4ad55897be
jinchengchenghh pushed a commit to jinchengchenghh/velox that referenced this pull request Mar 15, 2023
jinchengchenghh pushed a commit to jinchengchenghh/velox that referenced this pull request Mar 20, 2023
jinchengchenghh pushed a commit to jinchengchenghh/velox that referenced this pull request Jun 13, 2023
…e_vector_func

rewrite sparksql unscaled_value to vector func
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.

1 participant