Skip to content
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

Support substring with three arguments: (str, from, for) for DataFrame API and Ballista #2092

Closed
Tracked by #2062
yjshen opened this issue Mar 25, 2022 · 2 comments
Closed
Tracked by #2062
Labels
datafusion Changes in the datafusion crate enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@yjshen
Copy link
Member

yjshen commented Mar 25, 2022

@yjshen yjshen added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed ballista datafusion Changes in the datafusion crate labels Mar 25, 2022
@Ted-Jiang
Copy link
Member

@yjshen i think it already in ballista

C02DM20AMD6T arrow-datafusion % cargo run --bin datafusion-cli --features ballista -- --host localhost --port 50050
   Compiling ballista-core v0.6.0 (/Users/yangjiang/CLionProjects/github/arrow-datafusion/ballista/rust/core)
   Compiling ballista v0.6.0 (/Users/yangjiang/CLionProjects/github/arrow-datafusion/ballista/rust/client)
   Compiling datafusion-cli v7.0.0 (/Users/yangjiang/CLionProjects/github/arrow-datafusion/datafusion-cli)
    Finished dev [unoptimized + debuginfo] target(s) in 16.47s
     Running `target/debug/datafusion-cli --host localhost --port 50050`
DataFusion CLI v7.0.0
❯ select substr('alphabet', 3,2);
+--------------------------------------------+
| substr(Utf8("alphabet"),Int64(3),Int64(2)) |
+--------------------------------------------+
| ph                                         |
+--------------------------------------------+
1 row in set. Query took 0.231 seconds.
❯


@yjshen
Copy link
Member Author

yjshen commented Mar 28, 2022

Thanks, my fault.

@yjshen yjshen closed this as completed Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datafusion Changes in the datafusion crate enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants