0
点赞
收藏
分享

微信扫一扫

Python中的动态数据可视化Bokeh库实战

树下的老石头 2024-05-01 阅读 5
数据库

What's On In Databend

探索 Databend 本周新进展,遇到更贴近你心意的 Databend 。

支持 WASM UDF

Databend 现已支持 WASM UDF ,结合 CREATE FUNCTION 语法和强大的 STAGE 能力,可以从存储层加载 WASM 文件增强 Databend 的计算能力。

CREATE FUNCTION wasm_fibonacci (INT) RETURNS BIGINT LANGUAGE wasm HANDLER = 'wasm_fibonacci(int4)->int4' AS $@data/udf/wasm/test10-udf-wasm-gcd/test10_udf_wasm_gcd.wasm.zst$

select number, wasm_fibonacci(number) from numbers(5) where number > 0 order by 1;
----
1 1
2 1
3 2
4 3

如果您想了解更多信息,欢迎联系 Databend 团队,或查看下面列出的资源。

  • PR #15107 | feat(query): 14925, support udf wasm

Code Corner

一起来探索 Databend 和周边生态中的代码片段或项目。

了解 Databend 的搜索函数

Databend 支持先进的全文搜索功能,并且借鉴了 Elasticsearch 中的设计。欢迎阅读文档了解详情。

SELECT *, score() FROM test WHERE QUERY('title:art^5 body:reading^1.2');

┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ title │ body │ score() │
├───────────────────────────┼────────────────────────────────────────────────────────────────────────────────┼───────────┤
│ The Importance of Reading │ Reading is a crucial skill that opens up a world of knowledge and imagination. │ 1.3860708
│ The Art of Communication │ Effective communication is crucial in everyday life. │ 7.1992116
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

SELECT *, score() FROM test WHERE MATCH('title^5, body^1.2', 'reading everyday');

┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ title │ body │ score() │
├───────────────────────────┼────────────────────────────────────────────────────────────────────────────────┼───────────┤
│ The Importance of Reading │ Reading is a crucial skill that opens up a world of knowledge and imagination. │ 8.585282
│ The Art of Communication │ Effective communication is crucial in everyday life. │ 1.8575745
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
  • Docs | Full-Text Search Functions

Highlights

以下是一些值得注意的事件,也许您可以找到感兴趣的内容。

  • 支持在 delete 中使用 cte 。
  • 新支持 GEO 函数:st_asgeojsonst_asewkbst_aswkbst_asewktst_aswktst_geohashto_geometrytry_to_geometry
  • 支持函数 map_keys 和 map_values 。
  • 支持 TOP K 语法。
  • 倒排索引支持 JSON 类型数据。

What's Up Next

我们始终对前沿技术和创新理念持开放态度,欢迎您加入社区,为 Databend 注入活力。

支持直接连接 Power BI

Power BI 是最受欢迎的数据分析工具之一,已成为许多企业采用的标准数据分析平台。因此,确保所有数据都能通过 Power BI 访问变得尤为重要。

Databend 计划支持直接连接 Power BI 进行动态查询,比起依赖批处理 ETL 过程或 CDC 同步过程更高效和实时,以更好服务于需要进行及时分析或处理大规模数据集的场景。

Issue #15342 | Feature: Support Power BI Connections

如果你对这个主题感兴趣,可以尝试解决其中的部分问题或者参与讨论和 PR review 。或者,你可以点击 service: Add Baidu Cloud Storage (BOS) Support · Issue #2639 · apache/opendal · GitHub 来挑选一个随机问题,祝好运!

New Contributors

一起认识社区中的新伙伴,Databend 因你们而变得更加美好。

  • @shamb0 实现了对 WASM UDF 的支持,#15107 。

Changelog

前往查看 Databend 每日构建的变更日志,以了解开发的最新动态。

地址:Releases · datafuselabs/databend · GitHub

Contributors

非常感谢贡献者们在本周的卓越工作。 

Connect With Us

Databend 是一款开源、弹性、低成本,基于对象存储也可以做实时分析的新式数仓。期待您的关注,一起探索云原生数仓解决方案,打造新一代开源 Data Cloud。

  • Databend Website
  • GitHub Discussions
  • Twitter
  • Slack Channel
举报

相关推荐

0 条评论