Skip to content

[SPARK-53363] Add uuid builtin function #12

[SPARK-53363] Add uuid builtin function

[SPARK-53363] Add uuid builtin function #12

Workflow file for this run

#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
name: Build and test
on:
workflow_dispatch:
push:
branches: [master, "v*"]
pull_request:
branches: [master, "v*"]
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: "true"
- name: install protoc
uses: arduino/setup-protoc@v2
with:
version: 23.x
- name: Install minimal stable with clippy and rustfmt
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: rustfmt
- name: Format
run: cargo fmt -- --check
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: "true"
- name: install protoc
uses: arduino/setup-protoc@v2
with:
version: 23.x
- name: install minimal stable with clippy and rustfmt
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: clippy
- uses: Swatinem/rust-cache@v2
- name: build and lint with clippy
run: cargo clippy
- name: Check docs
run: cargo doc
- name: Check no default features (except rustls)
run: cargo check
integration_test:
name: integration tests
runs-on: ubuntu-latest
env:
CARGO_INCREMENTAL: 0
# Disable full debug symbol generation to speed up CI build and keep memory down
# <https://doc.rust-lang.org/cargo/reference/profiles.html>
RUSTFLAGS: "-C debuginfo=line-tables-only"
# https://github.com/rust-lang/cargo/issues/10280
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
RUST_BACKTRACE: "1"
steps:
- uses: actions/checkout@v4
with:
submodules: "true"
- name: install protoc
uses: arduino/setup-protoc@v2
with:
version: 23.x
- name: install minimal stable with clippy and rustfmt
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- name: Start emulated services
run: docker compose up -d
- name: Run tests
run: cargo test -p spark-connect-rs --features polars,datafusion