Commit 744a7218 authored by Valentin Apostolov's avatar Valentin Apostolov
Browse files

Initial projects upload

parent a36d07f0
05a7a35a-68b6-11ec-addb-60f6774b3ff3
\ No newline at end of file
This diff is collapsed.
# This is a RocksDB option file.
#
# For detailed file format spec, please refer to the example file
# in examples/rocksdb_option_file_example.ini
#
[Version]
rocksdb_version=6.20.3
options_file_version=1.1
[DBOptions]
delayed_write_rate=16777216
delete_obsolete_files_period_micros=21600000000
base_background_compactions=-1
writable_file_max_buffer_size=1048576
max_background_compactions=-1
max_background_jobs=2
max_subcompactions=1
avoid_flush_during_shutdown=false
max_total_wal_size=0
stats_dump_period_sec=600
max_background_flushes=-1
stats_persist_period_sec=600
stats_history_buffer_size=1048576
max_open_files=-1
bytes_per_sync=0
wal_bytes_per_sync=0
strict_bytes_per_sync=false
compaction_readahead_size=0
allow_fallocate=true
advise_random_on_open=true
dump_malloc_stats=false
track_and_verify_wals_in_manifest=false
WAL_ttl_seconds=0
use_direct_reads=false
allow_2pc=false
allow_mmap_reads=false
random_access_max_buffer_size=1048576
allow_mmap_writes=false
two_write_queues=false
use_direct_io_for_flush_and_compaction=false
create_if_missing=true
error_if_exists=false
create_missing_column_families=false
new_table_reader_for_compaction_inputs=false
enable_thread_tracking=false
is_fd_close_on_exec=true
paranoid_checks=true
skip_stats_update_on_db_open=false
fail_if_options_file_error=false
max_manifest_file_size=1073741824
skip_checking_sst_file_sizes_on_db_open=false
enable_pipelined_write=false
use_adaptive_mutex=false
preserve_deletes=false
use_fsync=false
log_file_time_to_roll=0
max_log_file_size=0
max_file_opening_threads=16
best_efforts_recovery=false
table_cache_numshardbits=6
write_dbid_to_manifest=false
max_write_batch_group_size_bytes=1048576
db_write_buffer_size=0
keep_log_file_num=1000
atomic_flush=false
recycle_log_file_num=0
manifest_preallocation_size=4194304
write_thread_slow_yield_usec=3
unordered_write=false
wal_dir=D\:\\CubeJS-Redash\\cubejs2\\cube.js\\.cubestore\\data\\metastore
WAL_size_limit_MB=0
persist_stats_to_disk=false
allow_concurrent_memtable_write=true
wal_recovery_mode=kPointInTimeRecovery
enable_write_thread_adaptive_yield=true
write_thread_max_yield_usec=100
access_hint_on_compaction_start=NORMAL
info_log_level=INFO_LEVEL
log_readahead_size=0
avoid_flush_during_recovery=false
allow_ingest_behind=false
manual_wal_flush=false
avoid_unnecessary_blocking_io=false
max_bgerror_resume_count=2147483647
bgerror_resume_retry_interval=1000000
db_host_id=__hostname__
allow_data_in_errors=false
[CFOptions "default"]
blob_compression_type=kNoCompression
hard_pending_compaction_bytes_limit=274877906944
level0_file_num_compaction_trigger=4
max_bytes_for_level_base=268435456
report_bg_io_stats=false
max_bytes_for_level_multiplier=10.000000
disable_auto_compactions=false
check_flush_compaction_key_order=true
enable_blob_files=false
paranoid_file_checks=false
blob_file_size=268435456
soft_pending_compaction_bytes_limit=68719476736
bottommost_compression_opts={enabled=false;max_dict_bytes=0;window_bits=-14;level=32767;parallel_threads=1;strategy=0;zstd_max_train_bytes=0;max_dict_buffer_bytes=0;}
max_compaction_bytes=1677721600
max_sequential_skip_in_iterations=8
level0_slowdown_writes_trigger=20
level0_stop_writes_trigger=36
max_write_buffer_number=2
target_file_size_multiplier=1
prefix_extractor=rocksdb.FixedPrefix.13
arena_block_size=8388608
inplace_update_num_locks=10000
max_successive_merges=0
memtable_huge_page_size=0
write_buffer_size=67108864
enable_blob_garbage_collection=false
memtable_prefix_bloom_size_ratio=0.000000
memtable_whole_key_filtering=false
max_bytes_for_level_multiplier_additional=1:{1}:{1}:{1}:{1}:{1}:{1}
target_file_size_base=67108864
min_blob_size=0
compression=kNoCompression
compaction_options_fifo={allow_compaction=false;max_table_files_size=1073741824;}
compaction_options_universal={allow_trivial_move=false;max_size_amplification_percent=200;size_ratio=1;stop_style=kCompactionStopStyleTotalSize;min_merge_width=2;compression_size_percent=-1;max_merge_width=4294967295;}
ttl=2592000
periodic_compaction_seconds=0
blob_garbage_collection_age_cutoff=0.250000
sample_for_compression=0
bottommost_compression=kDisableCompressionOption
compression_opts={enabled=false;max_dict_bytes=0;window_bits=-14;level=32767;parallel_threads=1;strategy=0;zstd_max_train_bytes=0;max_dict_buffer_bytes=0;}
max_write_buffer_number_to_maintain=0
merge_operator=meta_store merge
num_levels=7
inplace_update_support=false
level_compaction_dynamic_level_bytes=false
min_write_buffer_number_to_merge=1
optimize_filters_for_hits=false
force_consistency_checks=true
max_write_buffer_size_to_maintain=0
bloom_locality=0
comparator=leveldb.BytewiseComparator
memtable_insert_with_hint_prefix_extractor=nullptr
memtable_factory=SkipListFactory
table_factory=BlockBasedTable
compaction_filter=nullptr
compaction_filter_factory=nullptr
compaction_style=kCompactionStyleLevel
compaction_pri=kMinOverlappingRatio
[TableOptions/BlockBasedTable "default"]
pin_top_level_index_and_filter=true
flush_block_policy_factory=FlushBlockBySizePolicyFactory
cache_index_and_filter_blocks=false
cache_index_and_filter_blocks_with_high_priority=true
index_shortening=kShortenSeparators
hash_index_allow_collision=true
pin_l0_filter_and_index_blocks_in_cache=false
index_type=kBinarySearch
data_block_index_type=kDataBlockBinarySearch
data_block_hash_table_util_ratio=0.750000
checksum=kCRC32c
no_block_cache=false
block_size=4096
block_size_deviation=10
block_restart_interval=16
index_block_restart_interval=1
metadata_block_size=4096
partition_filters=false
optimize_filters_for_memory=false
filter_policy=nullptr
whole_key_filtering=true
format_version=5
verify_compression=false
read_amp_bytes_per_bit=0
block_align=false
enable_index_compression=true
metadata_cache_options={top_level_index_pinning=kFallback;unpartitioned_pinning=kFallback;partition_pinning=kFallback;}
max_auto_readahead_size=262144
**
!package.json
!tsconfig.base.json
!rollup.config.js
!yarn.lock
!lerna.json
!packages/
!rust/js-wrapper/
!rust/tsconfig.json
!rust/package.json
!rust/yarn.lock
!rust/bin
!rust/cubeclient
!rust/cubesql
packages/*/node_modules/
packages/*/dist/
packages/*/coverage/
packages/cubejs-server-core/playground/
packages/cubejs-jdbc-driver
packages/cubejs-serverless
packages/cubejs-serverless-aws
packages/cubejs-serverless-google
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Version:**
[e.g. 0.4.5]
**Additional context**
Add any other context about the problem here.
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
---
name: Question
about: Ask any question about Cube.js
title: ''
labels: 'question'
assignees: ''
---
**Problem**
A clear and concise description of what the problem is. Ex. How can I do X with Cube.js? [...]
**Related Cube.js schema**
```javascript
cube(`Cube`, {
sql: `` //, ...
})
```
**Related Cube.js generated SQL**
```sql
SELECT * FROM ...
```
#!/bin/sh
# Exit on first error
set -e
npm config set loglevel error
# Required environment variable
EXAMPLE_SLUG=${EXAMPLE_SLUG}
EXAMPLE_DIRECTORY=examples/${EXAMPLE_SLUG}
EXAMPLE_FRONTEND_SKIP=${EXAMPLE_FRONTEND_SKIP:-0}
EXAMPLE_FRONTEND_SUBDIRECTORY=${EXAMPLE_FRONTEND_SUBDIRECTORY:-dashboard-app}
EXAMPLE_FRONTEND_BUILD_SUBDIRECTORY=${EXAMPLE_FRONTEND_BUILD_SUBDIRECTORY:-build}
cd "$EXAMPLE_DIRECTORY"
yarn install
if [ "$EXAMPLE_FRONTEND_SKIP" -eq 0 ]
then
cd "$EXAMPLE_FRONTEND_SUBDIRECTORY"
yarn install
yarn build
fi
#!/bin/sh
# Exit on first error
set -e
npm config set loglevel error
# Required environment variable
EXAMPLE_SLUG=${EXAMPLE_SLUG}
EXAMPLE_DIRECTORY=examples/${EXAMPLE_SLUG}
EXAMPLE_FRONTEND_SKIP=${EXAMPLE_FRONTEND_SKIP:-0}
EXAMPLE_FRONTEND_SUBDIRECTORY=${EXAMPLE_FRONTEND_SUBDIRECTORY:-dashboard-app}
EXAMPLE_FRONTEND_BUILD_SUBDIRECTORY=${EXAMPLE_FRONTEND_BUILD_SUBDIRECTORY:-build}
cd "$EXAMPLE_DIRECTORY"
yarn install
npm install -g cubejs-cli
cubejs deploy
if [ "$EXAMPLE_FRONTEND_SKIP" -eq 0 ]
then
cd "$EXAMPLE_FRONTEND_SUBDIRECTORY"
yarn install
yarn build
npm install -g netlify-cli
netlify deploy --dir="$EXAMPLE_FRONTEND_BUILD_SUBDIRECTORY" --prod
fi
\ No newline at end of file
#!/bin/sh
# Exit on first error
set -e
npm config set loglevel error
# Required environment variable
GUIDE_SLUG=${GUIDE_SLUG}
GUIDE_DIRECTORY=guides/${GUIDE_SLUG}
cd guides/guides-base
yarn install
yarn link
cd ../../
cd "$GUIDE_DIRECTORY"
yarn install
yarn link guides-base
cd ../../
cd guides/guides-base/node_modules
ln -s ../../"${GUIDE_SLUG}"/node_modules/styled-components styled-components
cd ../../../
cd "$GUIDE_DIRECTORY"
yarn build
npm install -g netlify-cli
netlify deploy --dir=public --prod
\ No newline at end of file
name: 'Init CI'
description: 'Boostrap repo for testing'
inputs:
node:
description: 'Node.js version'
runs:
using: "composite"
steps:
- name: Use Node.js ${{ inputs.node }}
uses: actions/setup-node@v1
with:
node-version: ${{ inputs.node }}
- name: Cache node modules
uses: actions/cache@v2
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Yarn install
uses: borales/actions-yarn@v2.3.0
with:
cmd: install
- name: Lerna bootstrap
run: yarn lerna bootstrap --ignore @cubejs-backend/jdbc-driver
- name: Lerna tsc
run: yarn tsc
#!/bin/bash
set -eo pipefail
# Debug log for test containers
export DEBUG=testcontainers
export TEST_CLICKHOUSE_VERSION=21.1.2
echo "::group::Clickhouse ${TEST_CLICKHOUSE_VERSION}";
docker pull yandex/clickhouse-server:${TEST_CLICKHOUSE_VERSION}
yarn lerna run --concurrency 1 --stream --no-prefix integration:clickhouse
echo "::endgroup::"
export TEST_CLICKHOUSE_VERSION=20.6
echo "::group::Clickhouse ${TEST_CLICKHOUSE_VERSION}";
docker pull yandex/clickhouse-server:${TEST_CLICKHOUSE_VERSION}
yarn lerna run --concurrency 1 --stream --no-prefix integration:clickhouse
echo "::endgroup::"
export TEST_CLICKHOUSE_VERSION=19
echo "::group::Clickhouse ${TEST_CLICKHOUSE_VERSION}";
docker pull yandex/clickhouse-server:${TEST_CLICKHOUSE_VERSION}
yarn lerna run --concurrency 1 --stream --no-prefix integration:clickhouse
echo "::endgroup::"
#!/bin/bash
set -eo pipefail
# Debug log for test containers
export DEBUG=testcontainers
export TEST_CUBESTORE_VERSION=latest
echo "::group::CubeStore ${TEST_CUBESTORE_VERSION}";
docker pull cubejs/cubestore:${TEST_CUBESTORE_VERSION}
yarn lerna run --concurrency 1 --stream --no-prefix integration:cubestore
echo "::endgroup::"
#!/bin/bash
set -eo pipefail
# Debug log for test containers
export DEBUG=testcontainers
export TEST_POSTGRES_VERSION=13
export TEST_ZOOKEEPER_VERSION=3.5
export TEST_DRUID_VERSION=0.19.0
echo "::group::Druid ${TEST_DRUID_VERSION}";
docker pull postgres:${TEST_POSTGRES_VERSION}
docker pull zookeeper:${TEST_ZOOKEEPER_VERSION}
docker pull apache/druid:${TEST_DRUID_VERSION}
echo "Druid ${TEST_DRUID_VERSION}";
yarn lerna run --concurrency 1 --stream --no-prefix integration:druid
echo "::endgroup::"
#!/bin/bash
set -eo pipefail
# Debug log for test containers
export DEBUG=testcontainers
export TEST_ELASTIC_OPENDISTRO_VERSION=1.13.1
echo "::group::ElasticSearch Open Distro ${TEST_ELASTIC_OPENDISTRO_VERSION}";
docker pull amazon/opendistro-for-elasticsearch:${TEST_ELASTIC_OPENDISTRO_VERSION}
yarn lerna run --concurrency 1 --stream --no-prefix integration:elastic
echo "::endgroup::"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment