Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: wvlet/airframe
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v24.1.0
Choose a base ref
...
head repository: wvlet/airframe
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v24.1.1
Choose a head ref
  • 17 commits
  • 75 files changed
  • 3 contributors

Commits on Jan 8, 2024

  1. sql (fix): Resolve UNNEST earlier to prevent cyclic references (#3312)

    ## Case 1
    
    ```sql
    SELECT id, t.name FROM A CROSS JOIN UNNEST (name) AS t (name)
    ```
    
    This SQL is valid but fails to resolve with the following error:
    
    ```
    wvlet.airframe.sql.SQLError: [SyntaxError] line 1:45 name is ambiguous:
    - *name:string <- A.name
    - *name:?
    ```
    
    Because the output attribute of AliasedRelation (`t (name)`) is included
    in the source attributes when resolve `UNNEST (name)` here:
    
    
    https://github.com/wvlet/airframe/blob/49d31bad29eccd2459eb4c02593d371c1b55082a/airframe-sql/src/main/scala/wvlet/airframe/sql/analyzer/TypeResolver.scala#L319-L321
    
    - `r` is CrossJoin
    - `r.inputAttributes` is `left.outputAttributes +
    right.outputAttributes`
    - `right` is AliasedRelation(Unnest)
    
    I think output attributes of AliasedRelation shouldn't be in the scope
    when Unnest is resolved but I didn't come up with an easy fix for this
    issue.
    
    ## Case 2
    
    ```sql
    SELECT id, t.name FROM A CROSS JOIN UNNEST (A.name) AS t (name)
    ```
    
    This SQL is also valid but fails to resolve with the following error:
    
    ```
    Found unresolved expressions in:
    [sql]
    SELECT id, t.name FROM A CROSS JOIN UNNEST (A.name) AS t (name)
    [plan]
    [Project]: (id:long, name:string, name:string) => (id:long, name:?)
      - *id:long <- A.id
      - UnresolvedAttribute(t.name)
      [CrossJoin]: (id:long, name:string, name:string) => (id:long, name:string, name:string)
        - NaturalJoin
        [TableScan] default.A:  => (id:long, name:string)
        [AliasedRelation]:  => (name:string)
          - ResolvedIdentifier(Id(t))
          [Unnest]:  => (name:string)
            - *A.name:string <- A.name
    ```
    
    Maybe this is because the resolved UNNEST column has a qualifier. This
    case might not be UNNEST specific.
    takezoe authored Jan 8, 2024
    Configuration menu
    Copy the full SHA
    e76a7b1 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2024

  1. Update airframe-http, airframe-http-netty, ... to 24.1.0 (#3325)

    ## About this PR
    📦 Updates 
    * [org.wvlet.airframe:airframe-http](https://github.com/wvlet/airframe)
    *
    [org.wvlet.airframe:airframe-http-netty](https://github.com/wvlet/airframe)
    *
    [org.wvlet.airframe:airframe-launcher](https://github.com/wvlet/airframe)
    *
    [org.wvlet.airframe:airframe-rx-html](https://github.com/wvlet/airframe)
    * [org.wvlet.airframe:sbt-airframe](https://github.com/wvlet/airframe)
    
     from `23.12.1` to `24.1.0` ⚠
    
    📜 [GitHub Release
    Notes](https://github.com/wvlet/airframe/releases/tag/v24.1.0) -
    [Version
    Diff](v23.12.1...v24.1.0)
    
    ## Usage
    ✅ **Please merge!**
    
    I'll automatically update this PR to resolve conflicts as long as you
    don't change it yourself.
    
    If you'd like to skip this version, you can just close this PR. If you
    have any feedback, just mention me in the comments below.
    
    Configure Scala Steward for your repository with a
    [`.scala-steward.conf`](https://github.com/scala-steward-org/scala-steward/blob/b83aae55d9dd000548c3b3c9b63d79636e7b3c8b/docs/repo-specific-configuration.md)
    file.
    
    _Have a fantastic day writing Scala!_
    
    <details>
    <summary>⚙ Adjust future updates</summary>
    
    Add this to your `.scala-steward.conf` file to ignore future updates of
    this dependency:
    ```
    updates.ignore = [ { groupId = "org.wvlet.airframe" } ]
    ```
    Or, add this to slow down future updates of this dependency:
    ```
    dependencyOverrides = [{
      pullRequests = { frequency = "30 days" },
      dependency = { groupId = "org.wvlet.airframe" }
    }]
    ```
    </details>
    
    <sup>
    labels: library-update
    </sup>
    xerial-bot authored Jan 9, 2024
    Configuration menu
    Copy the full SHA
    1b2792f View commit details
    Browse the repository at this point in the history
  2. Update sbt-airframe to 23.12.1 (#3327)

    ## About this PR
    📦 Updates
    [org.wvlet.airframe:sbt-airframe](https://github.com/wvlet/airframe)
    from `23.11.3` to `23.12.1`
    
    📜 [GitHub Release
    Notes](https://github.com/wvlet/airframe/releases/tag/v23.12.1) -
    [Version
    Diff](v23.11.3...v23.12.1)
    
    ## Usage
    ✅ **Please merge!**
    
    I'll automatically update this PR to resolve conflicts as long as you
    don't change it yourself.
    
    If you'd like to skip this version, you can just close this PR. If you
    have any feedback, just mention me in the comments below.
    
    Configure Scala Steward for your repository with a
    [`.scala-steward.conf`](https://github.com/scala-steward-org/scala-steward/blob/b83aae55d9dd000548c3b3c9b63d79636e7b3c8b/docs/repo-specific-configuration.md)
    file.
    
    _Have a fantastic day writing Scala!_
    
    <details>
    <summary>⚙ Adjust future updates</summary>
    
    Add this to your `.scala-steward.conf` file to ignore future updates of
    this dependency:
    ```
    updates.ignore = [ { groupId = "org.wvlet.airframe", artifactId = "sbt-airframe" } ]
    ```
    Or, add this to slow down future updates of this dependency:
    ```
    dependencyOverrides = [{
      pullRequests = { frequency = "30 days" },
      dependency = { groupId = "org.wvlet.airframe", artifactId = "sbt-airframe" }
    }]
    ```
    </details>
    
    <sup>
    labels: sbt-plugin-update
    </sup>
    xerial-bot authored Jan 9, 2024
    Configuration menu
    Copy the full SHA
    2848d4a View commit details
    Browse the repository at this point in the history
  3. internal: Introduce scalafix (#3328)

    Testing scalafix.
    
    Due to scala2/3 compatibilities, we cannot enable some common rules, but
    at least scalacenter/scalafix#542 worked
    xerial authored Jan 9, 2024
    Configuration menu
    Copy the full SHA
    9fbb607 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2024

  1. di (deprecate): In-trait bindings (#3329)

    - Deprecate in-trait bindings 
    - Update examples
      -  Using Netty instead of Finagle for running examples in Scala 3
    xerial authored Jan 10, 2024
    Configuration menu
    Copy the full SHA
    e285183 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2f814a8 View commit details
    Browse the repository at this point in the history
  3. Update msgpack-core to 0.9.7 (#3331)

    ## About this PR
    📦 Updates
    [org.msgpack:msgpack-core](https://github.com/msgpack/msgpack-java) from
    `0.9.6` to `0.9.7`
    
    📜 [GitHub Release
    Notes](https://github.com/msgpack/msgpack-java/releases/tag/v0.9.7) -
    [Version
    Diff](msgpack/msgpack-java@v0.9.6...v0.9.7)
    
    ## Usage
    ✅ **Please merge!**
    
    I'll automatically update this PR to resolve conflicts as long as you
    don't change it yourself.
    
    If you'd like to skip this version, you can just close this PR. If you
    have any feedback, just mention me in the comments below.
    
    Configure Scala Steward for your repository with a
    [`.scala-steward.conf`](https://github.com/scala-steward-org/scala-steward/blob/b83aae55d9dd000548c3b3c9b63d79636e7b3c8b/docs/repo-specific-configuration.md)
    file.
    
    _Have a fantastic day writing Scala!_
    
    <details>
    <summary>🔍 Files still referring to the old version number</summary>
    
    The following files still refer to the old version number (0.9.6).
    You might want to review and update them manually.
    ```
    docs/release-notes.md
    website/static/img/undraw_operating_system.svg
    ```
    </details>
    <details>
    <summary>⚙ Adjust future updates</summary>
    
    Add this to your `.scala-steward.conf` file to ignore future updates of
    this dependency:
    ```
    updates.ignore = [ { groupId = "org.msgpack", artifactId = "msgpack-core" } ]
    ```
    Or, add this to slow down future updates of this dependency:
    ```
    dependencyOverrides = [{
      pullRequests = { frequency = "30 days" },
      dependency = { groupId = "org.msgpack", artifactId = "msgpack-core" }
    }]
    ```
    </details>
    
    <sup>
    labels: library-update
    </sup>
    xerial-bot authored Jan 10, 2024
    Configuration menu
    Copy the full SHA
    35c8e1f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    09216b1 View commit details
    Browse the repository at this point in the history
  5. Update protobuf-java to 3.25.2 (#3333)

    ## About this PR
    📦 Updates
    [com.google.protobuf:protobuf-java](https://github.com/protocolbuffers/protobuf)
    from `3.25.1` to `3.25.2`
    
    📜 [GitHub Release
    Notes](https://github.com/protocolbuffers/protobuf/releases/tag/v3.25.2)
    - [Version
    Diff](protocolbuffers/protobuf@v3.25.1...v3.25.2)
    
    ## Usage
    ✅ **Please merge!**
    
    I'll automatically update this PR to resolve conflicts as long as you
    don't change it yourself.
    
    If you'd like to skip this version, you can just close this PR. If you
    have any feedback, just mention me in the comments below.
    
    Configure Scala Steward for your repository with a
    [`.scala-steward.conf`](https://github.com/scala-steward-org/scala-steward/blob/b83aae55d9dd000548c3b3c9b63d79636e7b3c8b/docs/repo-specific-configuration.md)
    file.
    
    _Have a fantastic day writing Scala!_
    
    <details>
    <summary>⚙ Adjust future updates</summary>
    
    Add this to your `.scala-steward.conf` file to ignore future updates of
    this dependency:
    ```
    updates.ignore = [ { groupId = "com.google.protobuf", artifactId = "protobuf-java" } ]
    ```
    Or, add this to slow down future updates of this dependency:
    ```
    dependencyOverrides = [{
      pullRequests = { frequency = "30 days" },
      dependency = { groupId = "com.google.protobuf", artifactId = "protobuf-java" }
    }]
    ```
    </details>
    
    <sup>
    labels: library-update
    </sup>
    xerial-bot authored Jan 10, 2024
    Configuration menu
    Copy the full SHA
    a0b5fea View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2024

  1. http (feature): Accept concrete filter instances in RxRouter.fitler/a…

    …ndThen (#3334)
    
    - finagle: Deprecate Finagle.server
    - http (feature): Support concrete filter/endpoint instance
    - Support Scala 2
    xerial authored Jan 11, 2024
    Configuration menu
    Copy the full SHA
    02a0e94 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2024

  1. Update trino-main to 436 (#3336)

    ## About this PR
    📦 Updates [io.trino:trino-main](https://github.com/trinodb/trino) from
    `435` to `436`
    
    📜 [GitHub Release
    Notes](https://github.com/trinodb/trino/releases/tag/436) - [Version
    Diff](trinodb/trino@435...436)
    
    ## Usage
    ✅ **Please merge!**
    
    I'll automatically update this PR to resolve conflicts as long as you
    don't change it yourself.
    
    If you'd like to skip this version, you can just close this PR. If you
    have any feedback, just mention me in the comments below.
    
    Configure Scala Steward for your repository with a
    [`.scala-steward.conf`](https://github.com/scala-steward-org/scala-steward/blob/b83aae55d9dd000548c3b3c9b63d79636e7b3c8b/docs/repo-specific-configuration.md)
    file.
    
    _Have a fantastic day writing Scala!_
    
    <details>
    <summary>🔍 Files still referring to the old version number</summary>
    
    The following files still refer to the old version number (435).
    You might want to review and update them manually.
    ```
    airframe-benchmark/src/main/resources/twitter.json
    airframe-json/src/test/resources/twitter.json
    airframe-sql/src/test/resources/wvlet/airframe/sql/tpc-ds/q8.sql
    docs/release-notes.md
    website/siteConfig.js
    website/static/img/features/undraw_online_transactions_02ka.svg
    website/static/img/features/undraw_process_e90d.svg
    website/static/img/features/undraw_server_down_s4lk.svg
    website/static/img/undraw_code_review.svg
    website/static/img/undraw_online.svg
    website/static/img/undraw_open_source.svg
    website/static/img/undraw_react.svg
    ```
    </details>
    <details>
    <summary>⚙ Adjust future updates</summary>
    
    Add this to your `.scala-steward.conf` file to ignore future updates of
    this dependency:
    ```
    updates.ignore = [ { groupId = "io.trino", artifactId = "trino-main" } ]
    ```
    Or, add this to slow down future updates of this dependency:
    ```
    dependencyOverrides = [{
      pullRequests = { frequency = "30 days" },
      dependency = { groupId = "io.trino", artifactId = "trino-main" }
    }]
    ```
    </details>
    
    <sup>
    labels: test-library-update
    </sup>
    xerial-bot authored Jan 12, 2024
    Configuration menu
    Copy the full SHA
    18cb3af View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2024

  1. Configuration menu
    Copy the full SHA
    83983b9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b277e32 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2024

  1. Configuration menu
    Copy the full SHA
    efef163 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2024

  1. Update netty-all to 4.1.105.Final (#3341)

    ## About this PR
    📦 Updates io.netty:netty-all from `4.1.104.Final` to `4.1.105.Final`
    
    ## Usage
    ✅ **Please merge!**
    
    I'll automatically update this PR to resolve conflicts as long as you
    don't change it yourself.
    
    If you'd like to skip this version, you can just close this PR. If you
    have any feedback, just mention me in the comments below.
    
    Configure Scala Steward for your repository with a
    [`.scala-steward.conf`](https://github.com/scala-steward-org/scala-steward/blob/b83aae55d9dd000548c3b3c9b63d79636e7b3c8b/docs/repo-specific-configuration.md)
    file.
    
    _Have a fantastic day writing Scala!_
    
    <details>
    <summary>⚙ Adjust future updates</summary>
    
    Add this to your `.scala-steward.conf` file to ignore future updates of
    this dependency:
    ```
    updates.ignore = [ { groupId = "io.netty", artifactId = "netty-all" } ]
    ```
    Or, add this to slow down future updates of this dependency:
    ```
    dependencyOverrides = [{
      pullRequests = { frequency = "30 days" },
      dependency = { groupId = "io.netty", artifactId = "netty-all" }
    }]
    ```
    </details>
    
    <sup>
    labels: library-update
    </sup>
    xerial-bot authored Jan 16, 2024
    Configuration menu
    Copy the full SHA
    e29dae0 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2024

  1. parquet (fix): Fix a bug in writing Map columns #3315 (#3342)

    - Reproduction of #3315
    - Fix map column writer
    xerial authored Jan 18, 2024
    Configuration menu
    Copy the full SHA
    1ee3560 View commit details
    Browse the repository at this point in the history
  2. parquet (feature): Encode complex objects as JSON columns (#3343)

    Previously ParquetWriter used MessagePack for embedding complex object
    data into a column. For compatibility with the Parquet ecosystem (e.g.,
    DuckDB), using JSON is better.
    xerial authored Jan 18, 2024
    Configuration menu
    Copy the full SHA
    3e4be7f View commit details
    Browse the repository at this point in the history
Loading