SNOW-1916224: Ensure that all APIs have AST support #3170
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Which Jira issue is this PR addressing? Make sure that there is an accompanying issue to your PR.
SNOW-1916224
Fill out the following pre-review checklist:
Please describe how your code solves the related issue.
Updates
dataframe.na.{replace,fill}
to add the newinclude_decimal
parameter to the AST.Adds the
@publicapi
decorator to APIs missing itDataframeWriter.{partition_by, option, options}
functions.fl_is_{video, document, compressed, image}
Table.merge
GroupingSets.__init__
inrelational_grouped_dataframe.py
Fixes for issues in the following APIs and expectation tests for them:
map
indataframe.py
Functions.
system_reference
mean
var_samp
explode_outer
to_boolean
arrays_zip
window
from_json
array_remove
ln
call_builtin
builtin
acosh
asinh
atanh
bit_length
bitmap_bit_position
bitmap_bucket_number
bitmap_construct_agg
cbrt
ifnull
localtimestamp
max_by
min_by
octet_length
position
regr_avgx
regr_avgy
regr_count
regr_intercept
regr_r2
regr_slope
regr_sxx
regr_sxy
regr_syy
try_to_binary
build_stage_file_url
TableFunctionCall.over
order_by
andpartition_by
parameters asExprArgList
type fields in the ASTSession.sproc.register_from_file
Session.udaf.register_from_file
Session.udf.register_from_file
Session.udtf.register_from_file
This PR is accompanied by a server-side PR.