Skip to content

Commit 4305b94

Browse files
authored
feat(ilp): binary wire protocol (#7)
1 parent 46a908e commit 4305b94

219 files changed

Lines changed: 31479 additions & 20838 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ docker run -p 9000:9000 questdb/questdb
5656
import io.questdb.client.Sender;
5757

5858
public class Main {
59-
public static void main(String[] args) {
59+
static void main(String[] args) {
6060
try (Sender sender = Sender.fromConfig("http::addr=localhost:9000;")) {
6161
sender.table("trades")
6262
.symbol("symbol", "ETH-USD")

ci/check-changes.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
jobs:
2+
- job: CheckChanges
3+
displayName: "Check changes"
4+
pool:
5+
name: "Azure Pipelines"
6+
vmImage: "ubuntu-latest"
7+
steps:
8+
- checkout: none
9+
- bash: |
10+
set -ux
11+
echo "PR ID: $PRID"
12+
if ! [[ $PRID =~ ^[0-9]+$ ]]; then
13+
# Not triggered by a PR; assume source changed
14+
echo "##vso[task.setvariable variable=JAVA_SOURCE_CHANGED;isOutput=true]true"
15+
exit
16+
fi
17+
18+
CHANGED=""
19+
PAGE=0
20+
while true; do
21+
PAGE=$((PAGE+1))
22+
echo PAGE $PAGE
23+
set -e
24+
FILES=$(curl "https://api.github.com/repos/questdb/java-questdb-client/pulls/$PRID/files?per_page=100&page=$PAGE" -s)
25+
set +e
26+
ANY=$(echo "$FILES" | grep '"filename":')
27+
if [ -z "$ANY" ]; then
28+
break
29+
fi
30+
CHANGED="${CHANGED}$(echo "$ANY" | grep -oP '"core/src/main/java/')"
31+
done
32+
33+
if [ -n "$CHANGED" ]; then
34+
echo "##vso[task.setvariable variable=JAVA_SOURCE_CHANGED;isOutput=true]true"
35+
else
36+
echo "##vso[task.setvariable variable=JAVA_SOURCE_CHANGED;isOutput=true]false"
37+
fi
38+
name: check_coverage
39+
env:
40+
PRID: $(System.PullRequest.PullRequestNumber)
41+
displayName: "Check which files changed"

ci/confs/authenticated/authDb.txt

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)