Skip to content

Conversation

@jimexist
Copy link
Member

@jimexist jimexist commented Jun 2, 2021

Which issue does this PR close?

Closes #478
Depends on #483

Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

#[pyfunction]
fn now(value: expression::Expression) -> expression::Expression {
expression::Expression {
expr: logical_plan::now(value.expr),
Copy link
Member

Choose a reason for hiding this comment

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

Do you know why the logical now has one argument? I though that the physical one had the NullArray, but that in the logical plane, the function would be zero-argument?

Copy link
Member Author

Choose a reason for hiding this comment

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

maybe because they all take one arg which is the &[Arg]?

@jimexist jimexist changed the title add random and now function python: add random and now function Jun 2, 2021
@jimexist
Copy link
Member Author

jimexist commented Jun 2, 2021

error is likely not relevant, merge after fix in #468

@alamb alamb added the python label Jun 2, 2021
@jimexist jimexist changed the title python: add random and now function add random and now function Jun 3, 2021
@codecov-commenter
Copy link

Codecov Report

Merging #476 (ea90a2f) into master (33ff660) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #476   +/-   ##
=======================================
  Coverage   75.80%   75.80%           
=======================================
  Files         153      153           
  Lines       25924    25924           
=======================================
  Hits        19652    19652           
  Misses       6272     6272           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 33ff660...ea90a2f. Read the comment docs.

@jimexist jimexist force-pushed the add-random-now branch 2 times, most recently from 614c42a to 0f644db Compare June 3, 2021 23:38
@jimexist jimexist closed this Jun 4, 2021
@jimexist jimexist deleted the add-random-now branch June 4, 2021 05:12
unkloud pushed a commit to unkloud/datafusion that referenced this pull request Mar 23, 2025
…he#476)

* fix: CometReader.loadVector should not overwrite dictionary ids

* For review
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.

add and expose random and now function in Python version

4 participants