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

refactor: rewrite UDF time_bucket using date_bin and date_trunc #867

Closed
wants to merge 49 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
03e2533
use date_bin impl time_bucket
dust1 May 4, 2023
0d60fa1
fix: add offset
dust1 May 5, 2023
981099c
edit: use truncate_time replace P1W, P1M, P1Y
dust1 May 6, 2023
c1b1117
edit: simplified code
dust1 May 7, 2023
b1b62fb
fix: trunc week time zone error
dust1 May 8, 2023
d8e7896
fix clippy
jiacai2050 May 17, 2023
1a5125c
Merge branch 'main' into issue558_replenish
jiacai2050 Jun 6, 2023
5b2f9b7
chore: bump xor8 (#972)
jiacai2050 Jun 7, 2023
ef3967f
feat: use `get_batch` to implement `get_range` (#971)
MichaelLeeHZ Jun 7, 2023
d640c5b
refactor: optimize sst iterator and filter build to consume less CPU …
zouxiang1993 Jun 7, 2023
a1bfe42
refactor: disk cache use partition lock (#974)
tanruixiang Jun 7, 2023
e3c540a
refactor: add generic support to generate hasher (#977)
tanruixiang Jun 8, 2023
6e872e8
test: add test for hashers (#979)
jiacai2050 Jun 8, 2023
73c9c02
feat: allow setting multiple kafka boost brokers (#980)
Rachelint Jun 9, 2023
ba4d76c
refactor: add partition num as param in partition lock's init_fn (#981)
tanruixiang Jun 9, 2023
9f4a068
chore: deny `dbg-macro` in clippy (#983)
Rachelint Jun 9, 2023
c04ad6c
fix: schema mismatch during write (#966)
chunshao90 Jun 9, 2023
be98b3e
refactor: function args of object store (#978)
baojinri Jun 9, 2023
136f621
chore: reduce kafka logs (#986)
jiacai2050 Jun 12, 2023
0df7c77
chore: install git in Dockerfile (#992)
jiacai2050 Jun 14, 2023
0bcade3
refactor: profiling API (#989)
chunshao90 Jun 15, 2023
dc8aca5
feat: support region based wal replay (#976)
Rachelint Jun 15, 2023
174f3ce
fix: datumkind size (#994)
zouxiang1993 Jun 15, 2023
945438d
chore: add integration test about recovery (#996)
Rachelint Jun 16, 2023
54b3e15
refactor: add grpc handler metrics (#988)
baojinri Jun 16, 2023
014a4bd
refactor: avoid grpc forwarding twice (#991)
baojinri Jun 16, 2023
de623b2
fix: ensure files can only be picked once (#995)
jiacai2050 Jun 19, 2023
e4e3c0b
fix: arrow meta data is lost when decode custom meta data (#1004)
ShiKaiWi Jun 19, 2023
b5d0af2
fix: avoid any updates after table is closed (#998)
ShiKaiWi Jun 19, 2023
be5b462
fix: add page index for metadata (#1000)
MichaelLeeHZ Jun 20, 2023
2f5517a
feat: use instead forked `rskafka` to support limited retry (#1005)
Rachelint Jun 20, 2023
0f4a3c5
chore: add logs and metric to recovery (#1007)
Rachelint Jun 20, 2023
4bda5a3
chore: fix logs and style (#1011)
Rachelint Jun 25, 2023
4f84c23
chore: bump ceresdbproto (#1021)
jiacai2050 Jun 25, 2023
91ecd60
fix: avoid crash due to empty sql (#1024)
tanruixiang Jun 25, 2023
4880fc2
feat: add more details about the sst in sst-metadata tool (#1019)
zouxiang1993 Jun 25, 2023
4126a74
revert: "fix: add page index for metadata (#1000)" (#1026)
ShiKaiWi Jun 26, 2023
fc5fa0e
fix: `test_suggest_duration_and_ranges()` occasional fail. (#1028)
zouxiang1993 Jun 26, 2023
a9e1f95
chore: bump rust client (#1025)
jiacai2050 Jun 26, 2023
bd51638
feat: add page indexes for metadata (#1027)
MichaelLeeHZ Jun 26, 2023
80107c7
feat: support hex literal (#1030)
ShiKaiWi Jun 26, 2023
156a2be
Revert "fix: avoid any updates after table is closed (#998)" (#1034)
ShiKaiWi Jun 26, 2023
6c001b0
fix: avoid flush too many small sst file (#1003)
MichaelLeeHZ Jun 27, 2023
57689b9
feat: expose more rocksdb options (#1033)
zouxiang1993 Jun 27, 2023
9628772
feat: add metrics for memtable (#1036)
jiacai2050 Jun 27, 2023
510ea32
feat: support opentsdb put api (#1037)
zouxiang1993 Jun 29, 2023
56230b2
test: add integration test for opentsdb put api (#1043)
zouxiang1993 Jul 3, 2023
9e9c79c
feat: sst-metadata support sort (#1042)
jiacai2050 Jul 4, 2023
56db9a0
rebase
dust1 Aug 9, 2023
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
46 changes: 46 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -225,10 +225,56 @@ jobs:
working-directory: integration_tests
run: |
make run-prom
- name: Run OpenTSDB tests
working-directory: integration_tests
run: |
make run-opentsdb
- name: Upload Logs
if: always()
uses: actions/upload-artifact@v3
with:
name: sdk-test-${{ github.head_ref }}.${{ github.sha }}
path: |
/tmp/ceresdb-stdout.log

recovery-test:
name: recovery-test
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Cache Rust Dependencies
uses: actions/cache@v3
with:
path: |
~/.cargo
./target
key: debug-${{ runner.os }}-${{ hashFiles('rust-toolchain') }}-${{ hashFiles('Cargo.lock') }}
restore-keys: |
debug-${{ runner.os }}-${{ hashFiles('rust-toolchain') }}-
debug-${{ runner.os }}-
debug-
- run: |
rustup set auto-self-update disable
rustup toolchain install ${RUST_VERSION} --profile minimal
- name: Release Disk Quota
run: |
sudo rm -rf /usr/local/lib/android # release about 10 GB
sudo rm -rf /usr/share/dotnet # release about 20GB
- name: Setup Build Environment
run: |
sudo apt update
sudo apt install --yes protobuf-compiler
- name: Run recovery tests
working-directory: integration_tests
run: |
make run-recovery
- name: Upload Logs
if: always()
uses: actions/upload-artifact@v3
with:
name: recovery-test-${{ github.head_ref }}.${{ github.sha }}
path: |
/tmp/ceresdb-stdout.log
Loading