|
| 1 | +--- |
| 2 | +id: sept_2023_9_20_0 |
| 3 | +title: Sept 2023 (version 3.28.0) |
| 4 | +sidebar_label: Sept 2023 (3.28.0) |
| 5 | +--- |
| 6 | + |
| 7 | +Welcome to the latest release of Querybook 🎉. |
| 8 | + |
| 9 | +Following are the top new features we have added during the year 2023 thus far: |
| 10 | + |
| 11 | +- **AI assistant**: Support query cell title generation, text-to-sql and query auto fix, powered by LLM. |
| 12 | +- **Vector table search**: Use natural language to search a table. |
| 13 | +- **Data cell/table comment**: Users can leave comments for data cells and tables. |
| 14 | +- **Query optimization suggestions**: Provide a tooltip of query optimization suggestions. |
| 15 | +- **User group**: Introduce user groups, which can be used as table/datadoc owner/editor. |
| 16 | +- **Data element**: Introdce a new metadata `data element`, which provides semantic data meaning and can be assigned to a table column. |
| 17 | +- **Stats logging**: Add support of stats logging, like number of users, number of api requests and etc. |
| 18 | + |
| 19 | +## Feature highlights |
| 20 | + |
| 21 | +### AI Assistant |
| 22 | + |
| 23 | +The LLM powered AI assistant can help on |
| 24 | + |
| 25 | +- Query cell title generation |
| 26 | +- Text to SQL |
| 27 | +- Query error auto fix |
| 28 | + |
| 29 | +Please check the [guide](../user_guide/ai_assistant.md) for more details. |
| 30 | + |
| 31 | +### Vector Table Search |
| 32 | + |
| 33 | +Previously table searching is only keyword based search. Now we introduced [vector store plugin](../integrations/add_ai_assistant.md#vector-store-plugin) and added the support of searching a table by natural language. |
| 34 | + |
| 35 | + |
| 36 | +### Data Cell & Table Comment |
| 37 | + |
| 38 | +Users can leave comments to a data cell/table or view comments from other people. |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | +### Query Optimization Suggestions |
| 44 | + |
| 45 | +The query editor will provide optimization suggestions for some cases. Here are some predefined one for Presto/Trino |
| 46 | + |
| 47 | +- distinct count -> approx_distinct |
| 48 | +- like 'a' or like 'b' -> regexp_like(column, 'a|b') |
| 49 | +- union -> union all |
| 50 | + |
| 51 | +You can create you own suggestions by following the example of [PrestoOptimizingValidator](https://github.com/pinterest/querybook/blob/c8949b21c854b367d7bf54f08fbe1a12ad4a47c2/querybook/server/lib/query_analysis/validation/validators/presto_optimizing_validator.py#L177) |
| 52 | + |
| 53 | +Check the [PR](https://github.com/pinterest/querybook/pull/1302) for more details. |
| 54 | + |
| 55 | +### User Group |
| 56 | + |
| 57 | +We introduced the support of user group. Now a user in querybook can be a single user or a user group. A table could be owned by a user group, or a datadoc can be shared to a user group(haven't implemented, PR in progress). |
| 58 | + |
| 59 | + |
| 60 | +### Data element |
| 61 | + |
| 62 | +A [data element](https://en.wikipedia.org/wiki/Data_element) is an atomic unit of data that has precise meaning or precise semantics, like country, age and etc. We added data element as a new metadata, which can be assigned to a table column to provide more meaningful info for the column. |
| 63 | + |
| 64 | +Note: it can only be synced from metastore. |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | +### Stats logging |
| 69 | + |
| 70 | +Add support of stats logging, like number of users, number of api requests and etc. Please check the [plugin](../integrations/add_stats_logger.md) for more details. |
| 71 | + |
| 72 | +## Small Feature Improvements/Bug Fixes |
| 73 | + |
| 74 | +- Add username and password authentication for the trino client [#1315](https://github.com/pinterest/querybook/pull/1315) |
| 75 | +- Add two new plugins: [monkey patch plugin](../integrations/plugins.md#monkey-patch-plugin) and [api plugin](../integrations/plugins.md#api-plugin) [#1266](https://github.com/pinterest/querybook/pull/1266) |
| 76 | +- Fix the display of long table names in search modal [#1246](https://github.com/pinterest/querybook/pull/1246) |
| 77 | +- Allow data doc deletion from sidebar [#1241](https://github.com/pinterest/querybook/pull/1241) |
| 78 | +- Ensure meta_info is updated when an exception occurs [#1230](https://github.com/pinterest/querybook/pull/1230) |
| 79 | +- Add helm deployment guide [#1183](https://github.com/pinterest/querybook/pull/1183) |
| 80 | +- Add more metadata support [#1182](https://github.com/pinterest/querybook/pull/1182) |
| 81 | +- Enable mssql transpiling [#1178](https://github.com/pinterest/querybook/pull/1178) |
| 82 | +- Add ability to cancel dead queries [#1159](https://github.com/pinterest/querybook/pull/1159) |
| 83 | +- Fix json-bigint hasOwnProperty undefined issue [#1129](https://github.com/pinterest/querybook/pull/1129) |
| 84 | +- Add frontend context logging [#1115](https://github.com/pinterest/querybook/pull/1115) |
| 85 | +- Add drag and drop for templated variables [#1112](https://github.com/pinterest/querybook/pull/1112) |
| 86 | + |
| 87 | +Querybook Team<br/> |
| 88 | +Pinterest<br/> |
| 89 | +🚀 |
0 commit comments