---
title: 'This Week in Databend #73'
date: 2022-12-21
slug: category-weekly/2022-12-21-databend-weekly
tags: [weekly]
category: Weekly
authors:
- PsiACE
---
[Databend](https://github.com/databendlabs/databend) is a powerful cloud data warehouse. Built for elasticity and efficiency. Free and open. Also available in the cloud: [https://app.databend.com](https://app.databend.com) .
{/* truncate */}
## What's New
Check out what we've done this week to make Databend even better for you.
### Features & Improvements :sparkles:
**Multiple Catalogs**
- implement show tables (from|in catalog.database) ([#9153](https://github.com/databendlabs/databend/pull/9153))
**Planner**
- introduce histogram in column statistics ([#9310](https://github.com/databendlabs/databend/pull/9310))
**Query**
- support attaching stage for insert values ([#9249](https://github.com/databendlabs/databend/pull/9249))
- add native format in fuse table ([#9279](https://github.com/databendlabs/databend/pull/9279))
- add internal_enable_sandbox_tenant config and sandbox_tenant ([#9277](https://github.com/databendlabs/databend/pull/9277))
**Sqllogictest**
- introduce rust native sqllogictest framework ([#9150](https://github.com/databendlabs/databend/pull/9150))
### Code Refactoring :tada:
**\***
- unify apply_file_format_options for copy & insert ([#9323](https://github.com/databendlabs/databend/pull/9323))
**IO**
- remove unused code ([#9266](https://github.com/databendlabs/databend/pull/9266))
**meta**
- test watcher count ([#9324](https://github.com/databendlabs/databend/pull/9324))
**Planner**
- replace TableContext in planner with PlannerContext ([#9290](https://github.com/databendlabs/databend/pull/9290))
### Bug Fixes :wrench:
**Base**
- try fix SIGABRT when catch unwind ([#9269](https://github.com/databendlabs/databend/pull/9269))
- replace #[thread_local] to thread_local macro ([#9280](https://github.com/databendlabs/databend/pull/9280))
**Query**
- fix unknown database in query without relation to this database ([#9250](https://github.com/databendlabs/databend/pull/9250))
- fix wrong current_role when drop the role ([#9276](https://github.com/databendlabs/databend/pull/9276))
## What's On In Databend
Stay connected with the latest news about Databend.
#### Introduced a Rust Native Sqllogictest Framework
Sqllogictest verifies the results returned from a SQL database engine by comparing them with the results of other engines for the same queries.
In the past, Databend ran such tests using a program written in Python and migrated a large number of test cases from other popular databases. We implemented the program again with [sqllogictest-rs](https://github.com/risinglightdb/sqllogictest-rs) in recent days.
**Learn More**
- [Doc | sqllogictest](https://github.com/databendlabs/databend/tree/main/tests/sqllogictests)
- [PR | introduce rust native sqllogictest framework](https://github.com/databendlabs/databend/pull/9150)
#### Experimental: Native Format
[PA](https://github.com/sundy-li/pa) is a native storage format based on Apache Arrow. Similar to [Arrow IPC](https://arrow.apache.org/docs/python/ipc.html), PA aims at optimizing the storage layer.
Databend is introducing PA as a native storage format in the hope of getting a performance boost, though it's still at an early stage of development.
```sql
create table tmp (a int) ENGINE=FUSE STORAGE_FORMAT='native';
```
**Learn More**
- [PR | add native format in fuse table](https://github.com/databendlabs/databend/pull/9279)
- [GitHub | PA - A native storage format based on Apache Arrow](https://github.com/sundy-li/pa)
## What's Up Next
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.
#### Checking File Existence Before Returning Presigned URL​
When presigning a file, Databend currently returns a potentially valid URL based on the filename without checking if the file really exists. Thus, the 404 error might occur if the file doesn't exist at all.
[Issue 8702: Before return presign url add file exist judgement](https://github.com/databendlabs/databend/issues/8702)
Please let us know if you're interested in contributing to this issue, or pick up a good first issue at [https://link.databend.com/i-m-feeling-lucky](https://link.databend.com/i-m-feeling-lucky) to get started.
## Changelog
You can check the changelog of Databend Nightly for details about our latest developments.
- [v0.8.160-nightly](https://github.com/databendlabs/databend/releases/tag/v0.8.160-nightly)
- [v0.8.159-nightly](https://github.com/databendlabs/databend/releases/tag/v0.8.159-nightly)
- [v0.8.158-nightly](https://github.com/databendlabs/databend/releases/tag/v0.8.158-nightly)
- [v0.8.157-nightly](https://github.com/databendlabs/databend/releases/tag/v0.8.157-nightly)
- [v0.8.156-nightly](https://github.com/databendlabs/databend/releases/tag/v0.8.156-nightly)
- [v0.8.155-nightly](https://github.com/databendlabs/databend/releases/tag/v0.8.155-nightly)
- [v0.8.154-nightly](https://github.com/databendlabs/databend/releases/tag/v0.8.154-nightly)
- [v0.8.153-nightly](https://github.com/databendlabs/databend/releases/tag/v0.8.153-nightly)
## Contributors
Thanks a lot to the contributors for their excellent work this week.
| [
](https://github.com/ariesdevil) | [
](https://github.com/b41sh) | [
](https://github.com/BohuTANG) | [
](https://github.com/ClSlaid) | [
](https://github.com/drmingdrmer) | [
](https://github.com/everpcpc) |
| :-----------------------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------: |
| [ariesdevil](https://github.com/ariesdevil) | [b41sh](https://github.com/b41sh) | [BohuTANG](https://github.com/BohuTANG) | [ClSlaid](https://github.com/ClSlaid) | [drmingdrmer](https://github.com/drmingdrmer) | [everpcpc](https://github.com/everpcpc) |
| [
](https://github.com/leiysky) | [
](https://github.com/apps/mergify) | [
](https://github.com/PsiACE) | [
](https://github.com/sandflee) | [
](https://github.com/soyeric128) | [
](https://github.com/sundy-li) |
| :------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------: |
| [leiysky](https://github.com/leiysky) | [mergify[bot]](https://github.com/apps/mergify) | [PsiACE](https://github.com/PsiACE) | [sandflee](https://github.com/sandflee) | [soyeric128](https://github.com/soyeric128) | [sundy-li](https://github.com/sundy-li) |
| [
](https://github.com/Xuanwo) | [
](https://github.com/xudong963) | [
](https://github.com/youngsofun) | [
](https://github.com/zhang2014) | [
](https://github.com/ZhiHanZ) | [
](https://github.com/zhyass) |
| :---------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------: |
| [Xuanwo](https://github.com/Xuanwo) | [xudong963](https://github.com/xudong963) | [youngsofun](https://github.com/youngsofun) | [zhang2014](https://github.com/zhang2014) | [ZhiHanZ](https://github.com/ZhiHanZ) | [zhyass](https://github.com/zhyass) |