Skip to content

Change way to generate implemented functions #1064

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

Merged
merged 5 commits into from
Jun 11, 2025
Merged

Conversation

Vedin
Copy link
Contributor

@Vedin Vedin commented Jun 11, 2025

I added a new alias for cargo subcommand to easily update implemented functions.
Also, it fixes cases when some functions don't show up in the datafusion registry (like table functions).
#1061

Copy link
Contributor

SQL Logic Tests Results ❌

Coverage by SLT File

  • dateadd: 4/5 (80.0%)
  • get_ignore_case: 0/2 (0.0%)
  • any_value: 0/1 (0.0%)
  • previous_day: 1/1 (100.0%)
  • array_union_agg: 1/1 (100.0%)
  • add_months: 2/3 (66.7%)
  • arrays_overlap: 0/2 (0.0%)
  • object_keys: 2/2 (100.0%)
  • to_date: 0/9 (0.0%)
  • array_intersection: 6/7 (85.7%)
  • object_construct_keep_null: 0/2 (0.0%)
  • date_from_parts: 3/3 (100.0%)
  • array_distinct: 2/3 (66.7%)
  • var_samp: 0/1 (0.0%)
  • get_path: 1/2 (50.0%)
  • timestamp_from_parts: 3/6 (50.0%)
  • current_time: 0/3 (0.0%)
  • current_warehouse: 0/1 (0.0%)
  • regr_slope: 0/1 (0.0%)
  • parse_json: 2/8 (25.0%)
  • monthname: 2/3 (66.7%)
  • percent_rank: 0/1 (0.0%)
  • lead: 1/2 (50.0%)
  • time_from_parts: 0/2 (0.0%)
  • current_schema: 0/1 (0.0%)
  • dayname: 2/3 (66.7%)
  • is_double-real: 0/2 (0.0%)
  • lag: 1/2 (50.0%)
  • convert_timezone: 0/3 (0.0%)
  • last_value: 0/1 (0.0%)
  • object_agg: 1/3 (33.3%)
  • current_date: 0/1 (0.0%)
  • array_min: 3/4 (75.0%)
  • object_insert: 0/8 (0.0%)
  • array_prepend: 1/1 (100.0%)
  • array_contains: 3/6 (50.0%)
  • current_database: 0/1 (0.0%)
  • timestampdiff: 0/3 (0.0%)
  • to_time: 0/4 (0.0%)
  • is_array: 0/3 (0.0%)
  • array_append: 0/4 (0.0%)
  • is_null_value: 0/1 (0.0%)
  • nth_value: 0/1 (0.0%)
  • json_extract_path_text: 0/3 (0.0%)
  • as_array: 1/1 (100.0%)
  • median: 0/2 (0.0%)
  • array_max: 3/5 (60.0%)
  • array_reverse: 1/1 (100.0%)
  • date_part: 0/4 (0.0%)
  • max: 4/4 (100.0%)
  • dense_rank: 2/2 (100.0%)
  • date_trunc: 2/5 (40.0%)
  • timeadd: 4/5 (80.0%)
  • avg: 0/4 (0.0%)
  • last_day: 0/3 (0.0%)
  • sum: 1/5 (20.0%)
  • object_construct: 1/8 (12.5%)
  • to_variant: 0/2 (0.0%)
  • timestampadd: 4/5 (80.0%)
  • min: 3/4 (75.0%)
  • ntile: 0/1 (0.0%)
  • current_schemas: 0/1 (0.0%)
  • to_array: 1/1 (100.0%)
  • current_role: 0/2 (0.0%)
  • first_value: 0/1 (0.0%)
  • current_version: 1/1 (100.0%)
  • current_role_type: 1/1 (100.0%)
  • var_pop: 0/1 (0.0%)
  • arrays_to_object: 3/3 (100.0%)
  • array_cat: 1/1 (100.0%)
  • count: 2/4 (50.0%)
  • next_day: 1/1 (100.0%)
  • stddev_pop: 0/1 (0.0%)
  • timediff: 0/2 (0.0%)
  • current_timestamp: 0/3 (0.0%)
  • approx_percentile: 0/3 (0.0%)
  • rank: 2/2 (100.0%)
  • to_timestamp: 0/10 (0.0%)
  • array_sort: 2/6 (33.3%)
  • array_agg: 3/5 (60.0%)
  • row_number: 0/1 (0.0%)

Overall: 84/237 (35.4%)

@Vedin Vedin merged commit cbc6e46 into main Jun 11, 2025
6 checks passed
@Vedin Vedin deleted the implemented-functions-fix branch June 11, 2025 19:50
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.

2 participants