yutannihilation opened a new issue, #391:
URL: https://github.com/apache/sedona-db/issues/391

   `SHOW FUNCTIONS` causes stack overflow on REPL. I forgot, but I think I also 
saw this on macOS. I think this is just a minor issue that we can forget until 
the v0.2 release, but let me file this here before I forget.
   
   ```
   ❯ cargo run -p sedona-cli
   
   ...snip...
   
   warning: `sedona-proj` (lib) generated 1 warning (run `cargo fix --lib -p 
sedona-proj` to apply 1 suggestion)
       Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.44s
        Running `target\debug\sedona-cli.exe`
   Sedona CLI v0.2.0
   > show functions;
   
   thread 'main' (13952) has overflowed its stack
   error: process didn't exit successfully: `target\debug\sedona-cli.exe` (exit 
code: 0xc00000fd, STATUS_STACK_OVERFLOW)
   ```
   
   What's weird is that it works fine if I run it with `-c`. No idea why this 
makes the difference...
   
   ```
   ❯ cargo run -p sedona-cli -- -c 'show functions' 
   
   ...snip...
   
   warning: `sedona-proj` (lib) generated 1 warning (run `cargo fix --lib -p 
sedona-proj` to apply 1 suggestion)
       Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.46s
        Running `target\debug\sedona-cli.exe -c "show functions"`
   Sedona CLI v0.2.0
   
┌─────────────────────────────────┬─────────────────────────────────┬─────────────────────────────────┬─────────────────────────────────┬───────────────┬────────────────────────────────┬────────────────────────────────┐
   │          function_name          ┆           return_type           ┆        
    parameters           ┆         parameter_types         ┆ function_type ┆    
       description          ┆         syntax_example         │
   │               utf8              ┆               utf8              ┆        
       list              ┆               list              ┆      utf8     ┆    
          utf8              ┆              utf8              │
   
╞═════════════════════════════════╪═════════════════════════════════╪═════════════════════════════════╪═════════════════════════════════╪═══════════════╪════════════════════════════════╪════════════════════════════════╡
   │ log                             ┆ Float64                         ┆ [base] 
                         ┆ [Float64]                       ┆ SCALAR        ┆ 
Returns the base-x logarithm … ┆ log(base, numeric_expression)… │
   
├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
   │ log                             ┆ Float32                         ┆ [base, 
numeric_expression]      ┆ [Float32, Float32]              ┆ SCALAR        ┆ 
Returns the base-x logarithm … ┆ log(base, numeric_expression)… │
   
├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
   ...snip...
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to