Skip to content

Conversation

@cfmcgrady
Copy link
Contributor

Why are the changes needed?

close #2619

How was this patch tested?

  • Add some test cases that check the changes thoroughly including negative and positive cases if possible

  • Add screenshots for manual tests if appropriate

  • Run test locally before make a pull request

_,
_,
_)) if fsRelation.partitionSchemaOption.isDefined =>
_)) if fsRelation.partitionSchema.nonEmpty =>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HadoopFsRelation.partitionSchemaOption was removed by apache/spark#34582

delegate.parseDataType(sqlText)
}

override def parseQuery(sqlText: String): LogicalPlan = {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the new abstract function parseQuery was added by apache/spark#34543

@codecov-commenter
Copy link

codecov-commenter commented May 11, 2022

Codecov Report

Merging #2620 (4380f4c) into master (8de2f5f) will decrease coverage by 3.14%.
The diff coverage is 75.00%.

@@             Coverage Diff              @@
##             master    #2620      +/-   ##
============================================
- Coverage     64.31%   61.16%   -3.15%     
+ Complexity       80       39      -41     
============================================
  Files           385      382       -3     
  Lines         18628    18564      -64     
  Branches       2523     2514       -9     
============================================
- Hits          11980    11355     -625     
- Misses         5507     6123     +616     
+ Partials       1141     1086      -55     
Impacted Files Coverage Δ
...che/kyuubi/sql/watchdog/MaxPartitionStrategy.scala 0.00% <0.00%> (ø)
...in/scala/org/apache/kyuubi/config/KyuubiConf.scala 96.75% <100.00%> (+0.13%) ⬆️
...pache/kyuubi/sql/KyuubiSQLExtensionException.scala 0.00% <0.00%> (-100.00%) ⬇️
...rg/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala 0.00% <0.00%> (-94.74%) ⬇️
...ubi/sql/zorder/InsertZorderBeforeWritingBase.scala 0.00% <0.00%> (-89.16%) ⬇️
...cala/org/apache/kyuubi/sql/zorder/ZorderBase.scala 0.00% <0.00%> (-87.50%) ⬇️
.../kyuubi/sql/zorder/OptimizeZorderCommandBase.scala 0.00% <0.00%> (-81.82%) ⬇️
...yuubi/sql/zorder/OptimizeZorderStatementBase.scala 0.00% <0.00%> (-71.43%) ⬇️
...g/apache/kyuubi/sql/zorder/ResolveZorderBase.scala 0.00% <0.00%> (-69.57%) ⬇️
...pache/kyuubi/sql/KyuubiQueryStagePreparation.scala 0.00% <0.00%> (-32.36%) ⬇️
... and 10 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8de2f5f...4380f4c. Read the comment docs.

@github-actions github-actions bot added kind:infra license, community building, project builds, asf infra related, etc. module:common kind:documentation Documentation is a feature! labels May 11, 2022
@cfmcgrady
Copy link
Contributor Author

GA passed.

  1. Ignore flaky test JpsApplicationOperation with spark local mode. Flaky test: JpsApplicationOperation with spark local mode #2642
  2. Disable module kyuubi-spark-authz for spark-3.3, we can add support in a separate PR.
  3. add maven profile spark-3.3, and also add the GitHub action job.
  4. all existing spark extensions have passed CI.

cc @pan3793 @ulysses-you @turboFei

@ulysses-you
Copy link
Contributor

Disable module kyuubi-spark-authz for spark-3.3, we can add support in a separate PR.

cc @yaooqinn

@cfmcgrady cfmcgrady changed the title [WIP][KYUUBI #2619] Add profile spark-3.3 [KYUUBI #2619] Add profile spark-3.3 May 13, 2022
@ulysses-you
Copy link
Contributor

@cfmcgrady thank you for the investigation !

@yaooqinn
Copy link
Member

Disable module kyuubi-spark-authz for spark-3.3, we can add support in a separate PR.

it breaks ?

@cfmcgrady
Copy link
Contributor Author

Disable module kyuubi-spark-authz for spark-3.3, we can add support in a separate PR.

it breaks ?

yes, it also happen in the master branch. https://github.com/apache/incubator-kyuubi/runs/6416448132?check_suite_focus=true

@yaooqinn
Copy link
Member

shall we fix the failure first? spark release process for major one take quite a long time

@cfmcgrady
Copy link
Contributor Author

cfmcgrady commented May 13, 2022

shall we fix the failure first? spark release process for major one take quite a long time

Ignore the flaky test to pass CI, to see whether we have other compatibility issues. I will enable the unit test after we fix the issue.

@yaooqinn
Copy link
Member

seems we are not discussing the same thing,I only mean removing authz module is unacceptable as we have PRs for it now.

@cfmcgrady
Copy link
Contributor Author

cfmcgrady commented May 13, 2022

seems we are not discussing the same thing,I only mean removing authz module is unacceptable as we have PRs for it now.

Oops, I misread before.

we have 31 failed unit tests in the module kyuubi-spark-authz, I think we can raise a separate pr to fix it based on this one.

FYI: https://github.com/apache/incubator-kyuubi/runs/6418487737?check_suite_focus=true

@cfmcgrady cfmcgrady changed the title [KYUUBI #2619] Add profile spark-3.3 [DO-NOT-MERGE][KYUUBI #2619] Add profile spark-3.3 May 18, 2022
pan3793 pushed a commit that referenced this pull request May 19, 2022
### _Why are the changes needed?_

to close #2619

add maven profile `spark-3.3`, part of #2620

### _How was this patch tested?_

Pass CI.

Closes #2692 from cfmcgrady/kyuubi-2619-1.

Closes #2619

fbd336f [Fu Chen] refine SparkProcessBuilderSuite - `engine log truncation`
039ef82 [Fu Chen] move module kyuubi-spark-connector-kudu to spark-3.3
03d799e [Fu Chen] update kyuubi.operation.plan.only.excludes
724fc7a [Fu Chen] GA
53b97a1 [Fu Chen] add profile `spark-3.3`

Authored-by: Fu Chen <[email protected]>
Signed-off-by: Cheng Pan <[email protected]>
pan3793 pushed a commit that referenced this pull request May 23, 2022
### _Why are the changes needed?_

to close #2706

Spark extensions support Spark-3.3, part of #2620

### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

- [ ] Add screenshots for manual tests if appropriate

- [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request

Closes #2707 from cfmcgrady/kyuubi-2706.

Closes #2706

0b07b6e [Fu Chen] spark extensions support spark 3.3

Authored-by: Fu Chen <[email protected]>
Signed-off-by: Cheng Pan <[email protected]>
@cfmcgrady cfmcgrady closed this May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind:build kind:documentation Documentation is a feature! kind:infra license, community building, project builds, asf infra related, etc. module:common module:server module:spark

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Subtask] Add profile spark-3.3

4 participants