-
Notifications
You must be signed in to change notification settings - Fork 5.7k
fix(outputs.sql): Allow to disable timestamp column #16625
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
Conversation
bc7b889
to
fa851be
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.
Looks great! I have a couple of small suggestions.
Maybe I'm missing something but if starting the container fails, how can it be in running state? |
You're absolutely right, if starting the container fails, it won't be in a running state, so the existing code handles that correctly. The key improvement here is about using
|
@skartikey agree with |
fa851be
to
4cd3621
Compare
Download PR build artifacts for linux_amd64.tar.gz, darwin_arm64.tar.gz, and windows_amd64.zip. 📦 Click here to get additional PR build artifactsArtifact URLs |
author wenweihuang <hww_justin@163.com> 1740536737 +0800 committer wenweihuang <hww_justin@163.com> 1742792171 +0800 parent 39c9a43 author wenweihuang <hww_justin@163.com> 1740536737 +0800 committer wenweihuang <hww_justin@163.com> 1742791949 +0800 Reword comments and add error descriptions chore(deps): Bump github.com/PaesslerAG/gval from 1.2.2 to 1.2.4 (influxdata#16612) docs(aggregators): Document default settings for period, delay and grace (influxdata#16540) chore(licenses): Fix link and whitelist package (influxdata#16622) fix(outputs.influxdb_v2): Use dynamic token secret (influxdata#16628) feat(inputs.unbound): Collect histogram statistics (influxdata#16452) Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com> Co-authored-by: Sven Rebhan <srebhan@influxdata.com> chore: Run make docs chore(deps): Bump github.com/aws/smithy-go from 1.22.2 to 1.22.3 (influxdata#16650) chore(deps): Bump github.com/leodido/go-syslog/v4 from 4.1.0 to 4.2.0 (influxdata#16651) chore(deps): Bump tj-actions/changed-files from v45 to v46.0.1 (influxdata#16659) feat(outputs.stackdriver): Ensure quota is charged to configured project (influxdata#16583) Co-authored-by: root <root@lpce28af8.homedepot.com> chore(inputs.fritzbox): Fix linter issues (influxdata#16664) fix(inputs.tail): Use correct initial_read_offset persistent offset naming in the code (influxdata#16643) chore(deps): Bump golang.org/x/crypto from 0.35.0 to 0.36.0 (influxdata#16640) fix(agent): Condense plugin source information table when multiple plugins in same file (influxdata#16638) fix(outputs.sql): Allow to disable timestamp column (influxdata#16625) test: Update fedora image for nightly test (influxdata#16675) chore(deps): Bump k8s.io/api from 0.32.1 to 0.32.3 (influxdata#16653) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): Bump github.com/hashicorp/consul/api from 1.29.2 to 1.31.2 (influxdata#16652) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> feat(outputs.inlong) go mod tidy
author wenweihuang <hww_justin@163.com> 1740536737 +0800 committer wenweihuang <hww_justin@163.com> 1742792171 +0800 parent 39c9a43 author wenweihuang <hww_justin@163.com> 1740536737 +0800 committer wenweihuang <hww_justin@163.com> 1742791949 +0800 Reword comments and add error descriptions chore(deps): Bump github.com/PaesslerAG/gval from 1.2.2 to 1.2.4 (influxdata#16612) docs(aggregators): Document default settings for period, delay and grace (influxdata#16540) chore(licenses): Fix link and whitelist package (influxdata#16622) fix(outputs.influxdb_v2): Use dynamic token secret (influxdata#16628) feat(inputs.unbound): Collect histogram statistics (influxdata#16452) Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com> Co-authored-by: Sven Rebhan <srebhan@influxdata.com> chore: Run make docs chore(deps): Bump github.com/aws/smithy-go from 1.22.2 to 1.22.3 (influxdata#16650) chore(deps): Bump github.com/leodido/go-syslog/v4 from 4.1.0 to 4.2.0 (influxdata#16651) chore(deps): Bump tj-actions/changed-files from v45 to v46.0.1 (influxdata#16659) feat(outputs.stackdriver): Ensure quota is charged to configured project (influxdata#16583) Co-authored-by: root <root@lpce28af8.homedepot.com> chore(inputs.fritzbox): Fix linter issues (influxdata#16664) fix(inputs.tail): Use correct initial_read_offset persistent offset naming in the code (influxdata#16643) chore(deps): Bump golang.org/x/crypto from 0.35.0 to 0.36.0 (influxdata#16640) fix(agent): Condense plugin source information table when multiple plugins in same file (influxdata#16638) fix(outputs.sql): Allow to disable timestamp column (influxdata#16625) test: Update fedora image for nightly test (influxdata#16675) chore(deps): Bump k8s.io/api from 0.32.1 to 0.32.3 (influxdata#16653) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): Bump github.com/hashicorp/consul/api from 1.29.2 to 1.31.2 (influxdata#16652) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> feat(outputs.inlong) go mod tidy
(cherry picked from commit 3160f73)
Summary
This PR allows to set the timestamp column to empty to not insert the timestamp column.
Checklist
Related issues
resolves #16621
based on #16624
superseeds #16623