Comments (1)
Hello and thanks for trying out DuckDB!
In the future, we recommend posting questions like this to our Discord server, or to the main DuckDB repo. More people are watching those feeds so you might get a faster answer! If you have any follow up questions, please post an issue or discussion there and link to this issue.
You are very close! The key issue with the final 2 examples (the ones with errors) is that you added the map
function when it wasn't needed. I tested out this query on the DuckDB shell, but it should work in Python!
--No need to wrap the map_col in the map function.
--Also note that extracting from a map returns a list,
-- so we needed to use a list on the right hand side of the equals sign
select * from mcule where map_col['asia']=['asdfa'];
id | map_col |
---|---|
1 | {asia=asdfa} |
from duckdb-web.
Related Issues (20)
- List Erlang/Elixir libraries on the client APIs overview page HOT 1
- [duckdb/#12535] - odd `extract` interval behavior needs documentation HOT 4
- Clarify the meaning of max_temp_directory_size HOT 2
- [duckdb/#12533] - Cannot specify the name of the filename column using the filename argument needs documentation HOT 1
- [duckdb/#12440] - Internal #2186: Nanosecond Functionality needs documentation
- [duckdb/#12548] - Add support for binned histograms needs documentation
- Error on Friendly SQL page
- Update archival script
- Mention partial reading support in the httpfs extension's documentation
- [duckdb/#12504] - Small improvements to secret manager needs documentation
- COPY statement examples
- [duckdb/#12399] - make parameter handling orthogonal, please needs documentation
- Issue found on page 'Regular Expressions' HOT 1
- 使用drop table 之后磁盘的物理内存没有释放 HOT 1
- NATURAL JOIN
- CTE railroad diagram incomplete HOT 1
- Issue found on page 'Unnesting': typos in max depth section HOT 1
- [duckdb/#12575] - feat: new inet functions needs documentation
- Add OLAP SQL features to guides
- Document that read_json = read_json auto
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from duckdb-web.