Skip to content

Commit

Permalink
Merge branch 'main' into toolchain-11-28
Browse files Browse the repository at this point in the history
  • Loading branch information
sundy-li committed Dec 8, 2024
2 parents 1b8036c + 70c7768 commit 558546f
Show file tree
Hide file tree
Showing 46 changed files with 968 additions and 1,183 deletions.
9 changes: 8 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,7 @@ sled = { version = "0.34", default-features = false }
snailquote = "0.3.1"
snap = "1"
socket2 = "0.5.3"
span-map = { version = "0.2.0" }
sqlx = { version = "0.8", features = ["mysql", "runtime-tokio"] }
state = "0.6.0"
stream-more = "0.1.3"
Expand Down
5 changes: 4 additions & 1 deletion benchmark/clickbench/benchmark_cloud.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,15 @@ until bendsql --query="SHOW WAREHOUSES LIKE '${CLOUD_WAREHOUSE}'" | grep -q "Run
sleep 10
done

export BENDSQL_DSN="databend://${CLOUD_USER}:${CLOUD_PASSWORD}@${CLOUD_GATEWAY}:443/${BENCHMARK_DATABASE}?warehouse=${CLOUD_WAREHOUSE}"
export BENDSQL_DSN="databend://${CLOUD_USER}:${CLOUD_PASSWORD}@${CLOUD_GATEWAY}:443?warehouse=${CLOUD_WAREHOUSE}"

if [[ "${BENCHMARK_DATASET}" == "load" ]]; then
echo "Creating database..."
echo "CREATE DATABASE ${BENCHMARK_DATABASE};" | bendsql --database default
fi

export BENDSQL_DSN="databend://${CLOUD_USER}:${CLOUD_PASSWORD}@${CLOUD_GATEWAY}:443/${BENCHMARK_DATABASE}?warehouse=${CLOUD_WAREHOUSE}"

echo "Checking session settings..."
bendsql --query="select * from system.settings where value != default;" -o table

Expand Down Expand Up @@ -117,6 +119,7 @@ for query in "${BENCHMARK_DATASET}"/queries/*.sql; do
done

echo "Cleaning up..."
export BENDSQL_DSN="databend://${CLOUD_USER}:${CLOUD_PASSWORD}@${CLOUD_GATEWAY}:443?login=disable"
if [[ "${BENCHMARK_DATASET}" == "load" ]]; then
echo "Dropping database..."
echo "DROP DATABASE IF EXISTS ${BENCHMARK_DATABASE};" | bendsql
Expand Down
4 changes: 0 additions & 4 deletions src/common/base/src/rangemap/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

mod range_map;
mod range_map_key;
mod range_merger;

pub use range_map::RangeMap;
pub use range_map_key::RangeMapKey;
pub use range_merger::RangeMerger;
223 changes: 0 additions & 223 deletions src/common/base/src/rangemap/range_map.rs

This file was deleted.

Loading

0 comments on commit 558546f

Please sign in to comment.