|
| 1 | +--- |
| 2 | +title: "This Week in Databend #119" |
| 3 | +date: 2023-11-12 |
| 4 | +slug: 2023-11-12-databend-weekly |
| 5 | +cover_url: 'weekly/weekly-119.jpg' |
| 6 | +image: 'weekly/weekly-119.jpg' |
| 7 | +tags: [weekly] |
| 8 | +description: "Stay up to date with the latest weekly developments on Databend!" |
| 9 | +contributors: |
| 10 | + - name: andylokandy |
| 11 | + - name: b41sh |
| 12 | + - name: BohuTang |
| 13 | + - name: Chasen-Zhang |
| 14 | + - name: dantengsky |
| 15 | + - name: Dousir9 |
| 16 | + - name: drmingdrmer |
| 17 | + - name: everpcpc |
| 18 | + - name: flaneur2020 |
| 19 | + - name: guojidan |
| 20 | + - name: hantmac |
| 21 | + - name: JackTan25 |
| 22 | + - name: lichuang |
| 23 | + - name: SkyFan2002 |
| 24 | + - name: sundy-li |
| 25 | + - name: TCeason |
| 26 | + - name: Xuanwo |
| 27 | + - name: xudong963 |
| 28 | + - name: youngsofun |
| 29 | + - name: zhang2014 |
| 30 | + - name: zhyass |
| 31 | +authors: |
| 32 | + - name: PsiACE |
| 33 | + url: https://github.com/psiace |
| 34 | + image_url: https://github.com/psiace.png |
| 35 | +--- |
| 36 | + |
| 37 | +[Databend](https://github.com/datafuselabs/databend) is a modern cloud data warehouse, serving your massive-scale analytics needs at low cost and complexity. Open source alternative to Snowflake. Also available in the cloud: <https://app.databend.com> . |
| 38 | + |
| 39 | +## What's New |
| 40 | + |
| 41 | +Stay informed about the latest features of Databend. |
| 42 | + |
| 43 | +### User Case: Databend Cloud Helped AIGC Startup Reduce Cost |
| 44 | + |
| 45 | +Databend Cloud is an easy-to-use, low-cost, high-performance next-gen big data analytics platform built on the open-source cloud-native data warehouse project Databend. |
| 46 | + |
| 47 | +By using Databend Cloud for analytics, the startup reduced their user behavior log analysis costs to 1% of their previous solution. |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | +Databend Cloud did an excellent job assisting with user behavior analysis and providing insights into root causes. |
| 52 | + |
| 53 | +- Monthly analysis and dashboard costs dropped by 100x. |
| 54 | +- Raw data is stored in the customer's own object storage for further compliance check. |
| 55 | +- Databend Cloud's excellent capacities for handling semi-structured data and complex queries perfectly matched the customer's business requirements and facilitated the migration of their analytics jobs to Databend Cloud. |
| 56 | + |
| 57 | +If you want to learn more, please feel free to contact the [Databend team](https://databend.com/contact-us/), or check out the resources listed below. |
| 58 | + |
| 59 | +- [Blog | Databend Cloud Helped AIGC Startup Reduce Cost](https://www.databend.com/blog/down-costs-for-aigc-startup/) |
| 60 | + |
| 61 | +## Code Corner |
| 62 | + |
| 63 | +Discover some fascinating code snippets or projects that showcase our work or learning journey. |
| 64 | + |
| 65 | +### databend-udf Released, Databend Cloud Officially Supports External Functions |
| 66 | + |
| 67 | +Databend supports creating UDFs using programming languages you are familiar with to customize data processing workflows and integrate into data analysis workflows. |
| 68 | + |
| 69 | +Currently, Databend has packaged and released the Python SDK `databend-udf` to PyPI, for users to easily define and implement Python-based UDFs. We will also provide SDK support in more languages in the future, stay tuned. |
| 70 | + |
| 71 | +In addition, Databend Cloud now also supports external UDFs. If you want to try it out, please contact us by creating a ticket and provide the UDF server address. |
| 72 | + |
| 73 | +For more information, please check out the resources below. |
| 74 | + |
| 75 | +- [Docs | External Function](https://databend.rs/doc/sql-commands/ddl/external-function/) |
| 76 | +- [databend-udf · PyPI](https://pypi.org/project/databend-udf/) |
| 77 | + |
| 78 | +## Highlights |
| 79 | + |
| 80 | +We have also made these improvements to Databend that we hope you will find helpful: |
| 81 | + |
| 82 | +- Introduced `translate` function. |
| 83 | +- Introduced a new system table named `task_history` . |
| 84 | +- `MERGE INTO` now supports using table directly as a data source. |
| 85 | +- `SHOW DROP TABLE` now supports filtering and `LIMIT` options. |
| 86 | + |
| 87 | +## What's Up Next |
| 88 | + |
| 89 | +We're always open to cutting-edge technologies and innovative ideas. You're more than welcome to join the community and bring them to Databend. |
| 90 | + |
| 91 | +### New Function: CURRENT_TIMESTAMP |
| 92 | + |
| 93 | +The `CURRENT_TIMESTAMP` function returns the current date and time, with an optional precision parameter to control the number of digits after the decimal point in the output. |
| 94 | + |
| 95 | + |
| 96 | +```SQL |
| 97 | +SELECT CURRENT_TIMESTAMP(2); |
| 98 | + |
| 99 | ++------------------------+ |
| 100 | +| CURRENT_TIMESTAMP(2) | |
| 101 | +|------------------------| |
| 102 | +| 2023-11-12 10:23:18.35 | |
| 103 | ++------------------------+ |
| 104 | + |
| 105 | +SELECT CURRENT_TIMESTAMP(); |
| 106 | + |
| 107 | ++-------------------------------+ |
| 108 | +| CURRENT_TIMESTAMP | |
| 109 | +|-------------------------------| |
| 110 | +| 2023-11-12 10:25:27.358000000 | |
| 111 | ++-------------------------------+ |
| 112 | +``` |
| 113 | + |
| 114 | +[Issue #13689 | Feature: support function: CURRENT_TIMESTAMP](https://github.com/datafuselabs/databend/issues/13689) |
| 115 | + |
| 116 | +Please let us know if you're interested in contributing to this feature, or pick up a good first issue at <https://link.databend.rs/i-m-feeling-lucky> to get started. |
| 117 | + |
| 118 | +## Changelog |
| 119 | + |
| 120 | +You can check the changelog of Databend Nightly for details about our latest developments. |
| 121 | + |
| 122 | +**Full Changelog**: <https://github.com/datafuselabs/databend/compare/v1.2.193-nightly...v1.2.206-nightly> |
0 commit comments