-
Notifications
You must be signed in to change notification settings - Fork 5k
3.0 #34385
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
3.0 #34385
Conversation
* docs(taosx): add Parquet data source support Close https://project.feishu.cn/taosdata_td/feature/detail/6689988491 * Update docs/zh/14-reference/01-components/04-taosx.md Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update docs/en/14-reference/01-components/04-taosx.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * Update docs/zh/14-reference/01-components/04-taosx.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * chore: remove bold style --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
…ters (#34292) * fix(keeper): encode TDengine username and password for special characters * fix(keeper): add support for branch 3.3.8 and improve taosadapter tag determination * fix(keeper): simplify TestConnectorWithSpecialChars by removing unnecessary loops and using a fixed password
…ters (#34293) * fix(keeper): encode TDengine username and password for special characters * fix(keeper): update taoskeeper build workflow to include branch 3.3.6 and improve tag determination logic * fix(tests): simplify TestConnectorWithSpecialChars by removing unnecessary loops and using a fixed password
* docs: update python docs * chore: upgrade taospy
* chore: remove useless avro doc Closes: https://project.feishu.cn/taosdata_td/defect/detail/6712579877 * --amend
…use (#34315) * enh(xnode): support where condition for show xnode task/job/agent clause Closes [6672740298](https://project.feishu.cn/taosdata_td/feature/detail/6672740298) * chore: support where clause for drop xnode job * chore: optimize search xnoded exec file
Summary of ChangesHello @wangmm0220, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request introduces significant enhancements across the system, focusing on improved data security through encryption migration for core components, expanded data ingestion capabilities with Parquet file support, and refined query processing logic. The changes also streamline monitoring and user management features, contributing to a more robust and feature-rich platform. Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Ignored Files
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
014d71a to
83fa9d8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This is a large pull request that introduces several new features, includes major refactorings, and fixes numerous bugs. Key feature additions include support for Parquet file import, token-based authentication for TMQ and Python connectors, and enhancements to SQL syntax like SHOW ... WHERE and subqueries in IN clauses. There are significant refactorings in configuration loading, slow log monitoring, and the query execution planner, particularly for virtual tables and window functions. A major focus is on enhancing data encryption across different components, including checkpoint files and block storage, with data migration paths for existing unencrypted data. The PR also contains many critical bug fixes, addressing memory leaks, logic errors, and potential crashes in the transport layer and management nodes. My review highlights a couple of potential issues in the new code concerning logging severity and IP whitelist logic. Overall, the changes are substantial and improve the system's functionality, robustness, and security.
| SWhiteUserList** ppList = taosHashGet(pWhiteList, user, strlen(user)); | ||
| if (ppList == NULL || *ppList == NULL) { | ||
| return false; | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This logic appears to be incorrect based on the documentation for HOST/NOT_ALLOW_HOST. If a user has no IP whitelist/blacklist rules configured, taosHashGet will return NULL, and this function will return false, denying access. However, the documentation states: 'If neither HOST nor NOT_ALLOW_HOST is set, the user is allowed to log in from any address.' The implementation should be changed to return true in this case to align with the documented behavior.
SWhiteUserList** ppList = taosHashGet(pWhiteList, user, strlen(user));
if (ppList == NULL || *ppList == NULL) {
return true;
}|
|
||
| if (index >= pArray->size) { | ||
| uError("index is out of range, current:%" PRIzu " max:%" PRIzu, index, pArray->size); | ||
| uWarn("index is out of range, current:%" PRIzu " max:%" PRIzu, index, pArray->size); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Downgrading this log from uError to uWarn may cause developers to overlook potential bugs. An out-of-range array access is typically a programming error that should be treated as an error, not a warning. It's recommended to revert this to an error-level log to ensure such issues are highly visible and addressed promptly.
uError("index is out of range, current:%" PRIzu " max:%" PRIzu, index, pArray->size);
Description
Issue(s)
Checklist
Please check the items in the checklist if applicable.