Skip to content

Useful list functions #3447

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

Open
40 tasks
jexp opened this issue Feb 12, 2023 · 0 comments
Open
40 tasks

Useful list functions #3447

jexp opened this issue Feb 12, 2023 · 0 comments

Comments

@jexp
Copy link
Member

jexp commented Feb 12, 2023

There might be a few useful ones that we’re missing

https://duckdb.org/docs/sql/functions/nested

same for math and geo functions

Created a google sheet report.


Here is the missing nested functions:

  • list_dot_product(list1, list2)
  • list_grade_up(list)
  • list_resize(list, size[, value])
  • list_where(value_list, mask_list)
  • list_zip(list1, list2, ...)
  • range

Here is the missing numeric functions:

  • bit_count(x)
  • cbrt(x)
  • even(x)
  • factorial(x)
  • greatest_common_divisor(x, y)
  • lcm(x, y)
  • least_common_multiple(x, y)
  • lgamma(x)
  • log2(x)
  • nextafter(x, y)
  • sign(x)
  • signbit(x)

Here is the missing geo functions:

  • VARCHAR ST_AsText(GEOMETRY)
  • WKB_BLOB ST_AsWKB(GEOMETRY)
  • VARCHAR ST_AsHEXWKB(GEOMETRY)
  • VARCHAR ST_AsGeoJSON(GEOMETRY)
  • GEOMETRY ST_GeomFromText(VARCHAR)
  • GEOMETRY ST_GeomFromWKB(BLOB)
  • GEOMETRY ST_GeomFromHEXWKB(VARCHAR)
  • GEOMETRY ST_GeomFromGeoJSON(VARCHAR)
  • GEOMETRY ST_Envelope_Agg(GEOMETRY)
  • GEOMETRY ST_Union_Agg(GEOMETRY)
  • GEOMETRY ST_Intersection_Agg(GEOMETRY)
  • BOOLEAN ST_Within(GEOMETRY, GEOMETRY)
  • BOOLEAN ST_Touches(GEOMETRY, GEOMETRY)
  • BOOLEAN ST_Overlaps(GEOMETRY, GEOMETRY)
  • BOOLEAN ST_Contains(GEOMETRY, GEOMETRY)
  • BOOLEAN ST_CoveredBy(GEOMETRY, GEOMETRY)
  • BOOLEAN ST_Covers(GEOMETRY, GEOMETRY)
  • BOOLEAN ST_Crosses(GEOMETRY, GEOMETRY)
  • BOOLEAN ST_Difference(GEOMETRY, GEOMETRY)
  • BOOLEAN ST_Disjoint(GEOMETRY, GEOMETRY)
  • BOOLEAN ST_Intersects(GEOMETRY, GEOMETRY)
  • BOOLEAN ST_DWithin(GEOMETRY, GEOMETRY, DOUBLE)
@jexp jexp moved this to Todo in APOC Extended Larus Sep 21, 2023
@vga91 vga91 moved this from Todo to In Progress in APOC Extended Larus Jan 9, 2024
@jexp jexp moved this from In Progress to Review in APOC Extended Larus Feb 22, 2024
@RobertoSannino RobertoSannino moved this from Review to Blocked in APOC Extended Larus Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Blocked
Development

No branches or pull requests

3 participants