Skip to content
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

feat: support temp table. #286

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

youngsofun
Copy link
Member

@youngsofun youngsofun commented Nov 12, 2024

temp table have states across query at the server side, need:

  1. session id: carried in cookie
  2. logout: to clean up the states

after this pr, temp table is available, require databend server version >= 1.2.655 , but since heartbeat is not implemented yet, temp table will be cleaned up after session is idle for 4 hours, it is recommended to drop temp table after use, vacuum is used incase of forget or fail to drop it

unlike databendlabs/bendsql#479, session token is not introduced in the same pr, as it may need bigger refactor

@sundy-li
Copy link
Member

review @TCeason

@SkyFan2002
Copy link
Member

The overall design LGTM, but the details need to be reviewed by others.

@youngsofun
Copy link
Member Author

@ZhiHanZ @hantmac can we merge it? no privilege

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants