Skip to content

Timeplus plugin #1544

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 39 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
64af642
Merge pull request #1474 from chat2db/dev
Chat2DB-Pro Jul 23, 2024
77c19b8
Update README_CN.md
Chat2DB-Pro Aug 15, 2024
a71112b
Update README_CN.md
Chat2DB-Pro Aug 15, 2024
425a69c
Update README_CN.md
Chat2DB-Pro Aug 15, 2024
61d9fc1
Update README_CN.md
Chat2DB-Pro Aug 15, 2024
efc0890
Update README_CN.md
Chat2DB-Pro Aug 15, 2024
ce3cd93
Update README.md
Chat2DB-Pro Aug 15, 2024
23ebcfc
Update README.md
Chat2DB-Pro Aug 15, 2024
afdeeda
Update README.md
Chat2DB-Pro Aug 20, 2024
50f2a0a
Update README.md
Chat2DB-Pro Aug 20, 2024
d5b847d
Update README.md
Chat2DB-Pro Aug 20, 2024
adcbf2a
Update README.md
Chat2DB-Pro Aug 20, 2024
9a5994f
Update README.md
Chat2DB-Pro Aug 20, 2024
1df5d1f
Update README.md
Chat2DB-Pro Aug 20, 2024
1947afd
Update README.md
Chat2DB-Pro Aug 20, 2024
347e641
Update README.md
Chat2DB-Pro Aug 20, 2024
1cbd5f4
Update README.md
Chat2DB-Pro Aug 20, 2024
c3b9aa2
Update README.md
Chat2DB-Pro Aug 20, 2024
01d481b
Update README.md
Chat2DB-Pro Aug 20, 2024
41b3bb1
Update README_CN.md
Chat2DB-Pro Aug 20, 2024
5afb04e
Update README.md
Chat2DB-Pro Aug 29, 2024
1366bf6
Update README_CN.md
Chat2DB-Pro Sep 17, 2024
0357541
Update README_CN.md
Chat2DB-Pro Sep 17, 2024
d63f0ba
Update README_CN.md
Chat2DB-Pro Sep 17, 2024
79c4754
Update README_CN.md
Chat2DB-Pro Sep 17, 2024
a3d0eca
Update README.md
lijing-22 Oct 15, 2024
778812e
initial version of timeplus plugin
jovezhong Oct 23, 2024
45e620b
add plugin to server-domain-core/pom.xml
jovezhong Oct 23, 2024
e3d9931
update udf origin name
jovezhong Oct 24, 2024
a17f69c
empty list for routes and triggers
jovezhong Oct 24, 2024
cf6b7a0
important fix: avoid duplicating the db name
jovezhong Oct 24, 2024
1f9e860
set supportDatabase to true and schema false
jovezhong Oct 24, 2024
fe01c13
always use default as database name
jovezhong Oct 24, 2024
7b31f3d
Update MetaData, timezone can be in the column type
jovezhong Oct 24, 2024
4490d2d
MetaData, return empty list for table index
jovezhong Oct 24, 2024
127638c
workaround for default.default.name
jovezhong Oct 25, 2024
f56f524
use 7587 not 8463 by default to skip streaming
jovezhong Oct 25, 2024
738f156
Update TimeplusEngineTypeEnum.java
jovezhong Oct 25, 2024
0604ed8
Merge branch 'dev' into timeplus-plugin
Chat2DB-Pro Oct 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 24 additions & 47 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,44 +1,18 @@
<p align="center">
<a href="https://chat2db.ai/" target="_blank">
<img src="https://chat2db-cdn.oss-us-west-1.aliyuncs.com/website/img/cover.png" alt="Chat2DB" />
</a>
</p>

<div align="center">

# Chat2DB

**English** | [中文](README_CN.md)· [Changelog](CHANGELOG.md) · [Doc](https://github.com/chat2db/Chat2db-website-old/blob/main/docs/index.md) · [Report Bug](https://github.com/chat2db/Chat2DB/issues) · [PR](https://github.com/chat2db/Chat2DB/pulls)

</div>



<div align="center">
<p align="center"><b>Share Chat2DB Repository </b></p>
<p align="center">
Coming soon on 10.25 for offline version, please get notified on Product Hunt!

<a href="https://twitter.com/intent/tweet?text=Chat2DB-An%20intelligent%20and%20versatile%20general-purpose%20SQL%20client%20and%20reporting%20tool%20for%20databases%20which%20integrates%20ChatGPT%20capabilities.&url=https://github.com/chat2db/Chat2DB&hashtags=ChatGPT,AGI,SQL%20Client,Reporting%20tool" target="blank" > <img src="https://img.shields.io/twitter/follow/_Chat2DB?label=Share on Twitter&style=social" alt=""/> </a>
<a href="https://t.me/share/url?text=Chat2DB-An%20intelligent%20and%20versatile%20general-purpose%20SQL%20client%20and%20reporting%20tool%20for%20databases%20which%20integrates%20ChatGPT%20capabilities.&url=https://github.com/chat2db/Chat2DB" target="_blank"><img src="https://img.shields.io/twitter/url?label=Telegram&logo=Telegram&style=social&url=https://github.com/chat2db/Chat2DB" alt="Share on Telegram"/></a>
<a href="https://api.whatsapp.com/send?text=Chat2DB-An%20intelligent%20and%20versatile%20general-purpose%20SQL%20client%20and%20reporting%20tool%20for%20databases%20which%20integrates%20ChatGPT%20capabilities.%20https://github.com/chat2db/Chat2DB"><img src="https://img.shields.io/twitter/url?label=whatsapp&logo=whatsapp&style=social&url=https://github.com/chat2db/Chat2DB" /></a>
<a href="https://www.reddit.com/submit?url=https://github.com/chat2db/Chat2DB&title=Chat2DB-An%20intelligent%20and%20versatile%20general-purpose%20SQL%20client%20and%20reporting%20tool%20for%20databases%20which%20integrates%20ChatGPT%20capabilities." target="blank"><img src="https://img.shields.io/twitter/url?label=Reddit&logo=Reddit&style=social&url=https://github.com/chat2db/Chat2DB" alt="Share on Reddit"/></a>
<a href="mailto:?subject=Check%20this%20GitHub%20repository%20out.&body=Chat2DB-An%20intelligent%20and%20versatile%20general-purpose%20SQL%20client%20and%20reporting%20tool%20for%20databases%20which%20integrates%20ChatGPT%20capabilities.%3A%0Ahttps://github.com/chat2db/Chat2DB" target="_blank"><img src="https://img.shields.io/twitter/url?label=Gmail&logo=Gmail&style=social&url=https://github.com/chat2db/Chat2DB"/></a>
</p>
<a href="https://www.producthunt.com/posts/chat2db-local?embed=true&utm_source=badge-featured&utm_medium=badge&utm_souce=badge-chat2db&#0045;local" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=497460&theme=dark" alt="Chat2DB&#0032;Local - Make&#0032;everyone&#0032;a&#0032;database&#0032;expert&#0032;and&#0032;data&#0032;analyst&#0046; | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>

**English** | [中文](README_CN.md)· <a href="https://www.benchcouncil.org/evaluation/opencs/annual.html#Achievements">🏆 Top 100 Open Project!</a>

<div style="display: flex; align-items: center;">
If you think Chat2DB helpful, please click ⭐ Star<a style="display: flex; align-items: center;margin:0px 6px" target="_blank" href='https://github.com/chat2db/Chat2db'><img src="https://img.shields.io/github/stars/chat2db/Chat2DB.svg?style=flat-square&label=Stars&logo=github" alt="github star"/></a> and Fork this repo in the top right corner
</div>
<div style="display: flex; align-items: center;">
Or upvote on Product Hunt
<a href="https://www.producthunt.com/posts/chat2db-pro?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-chat2db&#0045;pro" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=450017&theme=light" alt="Chat2DB&#0032;Pro - AI&#0032;driven&#0032;data&#0032;development&#0032;and&#0032;analysis&#0032;platform | Product Hunt" style="width: 200px; height: 40px;" width="250" height="54" /></a> your support is the biggest motivation for Chat2DB to get better
</div>
</div>
## Download and Install Chat2DB(Pro)

# NEWS
[Download](https://chat2db.ai/download)
Double click package to install

### 🚀🚀🚀 The long-awaited Chat2DB Pro version is finally here, with the following key highlights added.
#### 🔥🔥🔥AI-driven intelligent SQL development
#### AI-driven intelligent SQL development
<a href="https://chat2db.ai/" target="_blank">
<img src="https://chat2db-cdn.oss-us-west-1.aliyuncs.com/website/img/9664f2fd-250b-478e-a2a1-4b96464ba718.gif" alt="Chat2DB" />
</a>
Expand All @@ -49,26 +23,27 @@
<img src="https://chat2db-cdn.oss-us-west-1.aliyuncs.com/website/img/47a61ae7-2e21-45e7-a41e-e2559f51919d.gif" alt="Chat2DB" />
</a>

#### ✨✨✨AI-driven Intelligent Reports
#### AI-driven Intelligent Reports
<a href="https://chat2db.ai/" target="_blank">
<img src="https://chat2db-cdn.oss-us-west-1.aliyuncs.com/website/img/d070ca11-8bdd-4ff4-a435-ecfc623103cb.gif" alt="Chat2DB" />
</a>

#### 🎉🎉🎉AI-driven Data Exploration
#### AI-driven Data Exploration
<a href="https://chat2db.ai/" target="_blank">
<img src="https://chat2db-cdn.oss-us-west-1.aliyuncs.com/website/img/WechatIMG5138.jpg" alt="Chat2DB" />
</a>

### 🎁🎁🎁 We have also open-sourced our first GLM, [Chat2DB-SQL-7B](https://github.com/chat2db/Chat2DB-GLM). You can refer more details from below links.
### We have also open-sourced our first GLM, [Chat2DB-SQL-7B](https://github.com/chat2db/Chat2DB-GLM). You can refer more details from below links.

- github: [Chat2DB-SQL-7B](https://github.com/chat2db/Chat2DB-GLM)
- huggingface🤗:[Chat2DB-SQL-7B](https://huggingface.co/Chat2DB/Chat2DB-SQL-7B)
- modelscope:[Chat2DB-SQL-7B](https://modelscope.cn/models/Chat2DB/Chat2DB-SQL-7B/summary)

### 🎁🎁🎁 Deploy the InternLM model on Chat2DB
### Deploy the InternLM model on Chat2DB

Thanks to [InternLM](https://github.com/InternLM/InternLM) for the strong support for this project. In the custom models of this project, multiple model weights from InternLM can be integrated. For more details, please refer to [chat2db-internlm-deploy](https://github.com/chat2db/chat2db-internlm-deploy)

## 🚀 Supported databases
## Supported databases
Chat2DB Pro supports all the following databases, including the most requested Redis feature.
- MySQL
- PostgreSQL
Expand All @@ -88,13 +63,8 @@ Chat2DB Pro supports all the following databases, including the most requested R
- Redis
- Snowflake

## ⏬ Download and Install Chat2DB(Pro)

- Download installation package from [official website](https://chat2db.ai/download)
- Double click package to install


## 🌰 Using Chat2DB
## Using Chat2DB
Refer to the [Quick Start Guide](https://docs.chat2db.ai/) to get started with Chat2DB.


Expand Down Expand Up @@ -141,8 +111,15 @@ Thanks to all who contributed to Chat2DB~~

<a href="https://star-history.com/#chat2db/chat2db&Date">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=chat2db/chat2db&type=Date&theme=dark" />
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=chat2db/chat2db&type=Date" />
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=chat2db/chat2db&type=Date" />
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=CodePhiliaX/chat2db&type=Date&theme=dark" />
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=CodePhiliaX/chat2db&type=Date" />
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=CodePhiliaX/chat2db&type=Date" />
</picture>
</a>

## link
<p align="left">
<a href="https://sa-token.cc" target="_blank">
<img src="https://github.com/user-attachments/assets/d2182835-057a-47e6-80fc-e9efc4792a7f" alt="sa-token" width="15%"/>
</a>
</p>
49 changes: 28 additions & 21 deletions README_CN.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<p align="center">
<a href="https://chat2db-ai.com/" target="_blank">
<img src="https://chat2db-cdn.oss-us-west-1.aliyuncs.com/website/img/cover.png" alt="Chat2DB" />
</a>
</p>

<div align="center">

<a><img src="https://github.com/user-attachments/assets/8d0b3575-d38f-43a2-9d43-11d6475da0c7" width="30%"/></a>
<a><img src="https://github.com/chat2db/Chat2DB/assets/22975773/81d13eff-c615-49f5-aee3-4107089593e0" width="20%"/></a>

加群前请先 Star 和 Fork,谢谢~关注微信公众号可加入微信、钉钉、QQ 群一起讨论,并可以获取 Chat2DB 最新动态和更新。


# Chat2DB

Expand Down Expand Up @@ -36,10 +36,15 @@

</div>

## ⏬ 下载和安装Chat2DB(Pro)

- 从[官网](https://chat2db-ai.com/download)下载安装包
- 双击安装包进行安装

# 最近更新

### 🚀🚀🚀 期待已久的Chat2DB Pro版本终于来了,新增了以下几个核心亮点。
#### 🔥🔥🔥AI驱动的智能SQL开发
### 期待已久的Chat2DB Pro版本终于来了,新增了以下几个核心亮点。
#### AI驱动的智能SQL开发
<a href="https://chat2db-ai.com/" target="_blank">
<img src="https://chat2db-cdn.oss-us-west-1.aliyuncs.com/website/img/9664f2fd-250b-478e-a2a1-4b96464ba718.gif" alt="Chat2DB" />
</a>
Expand All @@ -50,26 +55,27 @@
<img src="https://chat2db-cdn.oss-us-west-1.aliyuncs.com/website/img/47a61ae7-2e21-45e7-a41e-e2559f51919d.gif" alt="Chat2DB" />
</a>

#### ✨✨✨AI驱动的智能报告
#### AI驱动的智能报告
<a href="https://chat2db-ai.com/" target="_blank">
<img src="https://chat2db-cdn.oss-us-west-1.aliyuncs.com/website/img/d070ca11-8bdd-4ff4-a435-ecfc623103cb.gif" alt="Chat2DB" />
</a>

#### 🎉🎉🎉AI驱动的数据探索
#### AI驱动的数据探索
<a href="https://chat2db-ai.com/" target="_blank">
<img src="https://chat2db-cdn.oss-us-west-1.aliyuncs.com/website/img/WechatIMG5138.jpg" alt="Chat2DB" />
</a>

### 🎁🎁🎁 我们还开源了我们的第一个GLM,[Chat2DB-SQL-7B](https://github.com/chat2db/Chat2DB-GLM)。你可以从下面的链接了解更多详情。
### 我们还开源了我们的第一个GLM,[Chat2DB-SQL-7B](https://github.com/chat2db/Chat2DB-GLM)。你可以从下面的链接了解更多详情。

- GitHub: [Chat2DB-SQL-7B](https://github.com/chat2db/Chat2DB-GLM)
- huggingface🤗:[Chat2DB-SQL-7B](https://huggingface.co/Chat2DB/Chat2DB-SQL-7B)
- modelscope:[Chat2DB-SQL-7B](https://modelscope.cn/models/Chat2DB/Chat2DB-SQL-7B/summary)

### 🎁🎁🎁 在Chat2DB上即成InternLM模型
### 在Chat2DB上即成InternLM模型

感谢InternLM对本项目的大力支持,在本项目中的自定义模型中,可以集成InternLM的多个模型权重,具体请参考[chat2db-internlm-deploy](https://github.com/chat2db/chat2db-internlm-deploy)

## 🚀 支持的数据库
## 支持的数据库
Chat2DB Pro支持以下所有数据库,包括备受期待的Redis功能。
- MySQL
- PostgreSQL
Expand All @@ -89,12 +95,8 @@ Chat2DB Pro支持以下所有数据库,包括备受期待的Redis功能。
- Redis
- Snowflake

## ⏬ 下载和安装Chat2DB(Pro)

- 从[官网](https://chat2db-ai.com/download)下载安装包
- 双击安装包进行安装

## 🌰 使用Chat2DB
## 使用Chat2DB
参考[快速开始指南](https://docs.chat2db-ai.com/),开始使用Chat2DB。

## 常见问题
Expand Down Expand Up @@ -127,9 +129,6 @@ Chat2DB Pro支持以下所有数据库,包括备受期待的Redis功能。

## ☎️ 加入我们

加群前请先 Star 和 Fork,谢谢~关注微信公众号可加入微信、钉钉、QQ 群一起讨论,并可以获取 Chat2DB 最新动态和更新。

<a><img src="https://github.com/chat2db/Chat2DB/assets/22975773/81d13eff-c615-49f5-aee3-4107089593e0" width="30%"/></a>

## ❤️ 致谢

Expand All @@ -148,3 +147,11 @@ Chat2DB Pro支持以下所有数据库,包括备受期待的Redis功能。
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=chat2db/chat2db&type=Date" />
</picture>
</a>

## 友情链接
<p align="left">
<a href="https://sa-token.cc" target="_blank">
<img src="https://github.com/user-attachments/assets/d2182835-057a-47e6-80fc-e9efc4792a7f" alt="sa-token" width="15%"/>
</a>
</p>

Loading