Databend aimed to be an open source elastic and reliable cloud warehouse, it offers blazing fast query and combines elasticity, simplicity, low cost of the cloud, built to make the Data Cloud easy.
Below is a list of some major changes that we don't want you to miss.
INSTR
, FIELD
, SUBSTRING
, SUBSTR
, MID
, SUBSTRING_INDEX
, REVERSE
, REPLACE
, STRCMP
, SPACE
, LEFT
, RIGHT
, LPAD
, RPAD
, CHARACTER_LENGTH
, CHAR_LENGTH
, ORD
by @mshauneu (#3217, #3215, #3231, etc.)bin_length
by @radmirnovii (#3232)octet_length
by @unconsolable (#3227)trim
by @QuantumBear (#3196)CONCAT
, CONCAT_WS
by @Veeupup (#3214, #3260)StateMachine::apply
use transaction to perform operations by @ariesdevil. (#3102)Let's learn a weekly tip from Databend.
Databend now supports GitHub as a data source, and you can read the relevant code at storages/github.
create github-engine based database
Before running databend, your Github Access Token should be set.
export GITHUB_TOKEN=<your_token>;
Create a Github powered database.
databend :) create database datafuselabs engine=github;
0 rows in set. Elapsed: 2.611 sec.
show all tables
Show all tables in this database, which are currently flattened. This means that Repos, issues and PRs are all in the form of tables.
databend :) use datafuselabs;
0 rows in set. Elapsed: 0.013 sec.
databend :) show tables;
+---------------------------------+
| name |
+---------------------------------+
| .github |
| .github_comments |
| .github_issues |
| .github_prs |
| databend |
| databend-playground |
| databend-playground_comments |
| databend-playground_issues |
| databend-playground_prs |
| databend_comments |
| databend_issues |
| databend_prs |
| ... |
+---------------------------------+
36 rows in set. Elapsed: 0.053 sec.
View basic information about a repo
databend :) select * from databend;
+------------+----------+------------+------------+-------------+----------------+-------------------+-------------------+
| reposiroty | language | license | star_count | forks_count | watchers_count | open_issues_count | subscribers_count |
+------------+----------+------------+------------+-------------+----------------+-------------------+-------------------+
| databend | Rust | apache-2.0 | 2661 | 252 | 2661 | 349 | 63 |
+------------+----------+------------+------------+-------------+----------------+-------------------+-------------------+
1 rows in set. Elapsed: 1.368 sec.
You can check the changelogs of Databend nightly to learn about our latest developments.
From open source, for open source. Our team is also committed to contributing to the Rust ecosystem and upstream dependencies.
Memcpy
style write, no extra copy. by @sundy-liPlease join the DatafuseLabs Community if you are interested in Databend.
We are looking forward to seeing you try our code. We have a strong team behind you to ensure a smooth experience in trying our code for your projects. If you are a hacker passionate about database internals, feel free to play with our code.
You can submit issues for any problems you find. We also highly appreciate any of your pull requests.
如果想了解更多,可以关注公众号: Databend