paleolimbot opened a new pull request, #102:
URL: https://github.com/apache/sedona-db/pull/102
This PR adds `.execute()` to make it more intuitive what to do for a
CREATE/SET query. Functionally it is very similar to .count() but doesn't
actually use DataFusion's counter under the hood to avoid any issue with
optimizations from that.
```python
import sedonadb
sd = sedonadb.connect()
sd.sql("CREATE OR REPLACE VIEW temp_view AS SELECT 1 as one").execute()
sd.view("temp_view").show()
#> ┌───────┐
#> │ one │
#> │ int64 │
#> ╞═══════╡
#> │ 1 │
#> └───────┘
```
--
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]