Skip to content

Pluggable Pod Controller #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: upstream-master
Choose a base branch
from

Conversation

ifilonenko
Copy link
Owner

@ifilonenko ifilonenko commented Jan 12, 2019

What changes were proposed in this pull request?

This introduces a pluggable API for creating and remove pods in a way beyond calling kubernetes.pods().create/delete.

How was this patch tested?

  • Unit Tests
  • Integration Tests

ifilonenko pushed a commit that referenced this pull request May 13, 2019
…from_avro`/`to_avro`

Back port apache#22890 to branch-2.4.
It is a bug fix for this issue:
https://issues.apache.org/jira/browse/SPARK-26063

## What changes were proposed in this pull request?

Previously in from_avro/to_avro, we override the method `simpleString` and `sql` for the string output. However, the override only affects the alias naming:
```
Project [from_avro('col,
...
, (mode,PERMISSIVE)) AS from_avro(col, struct<col1:bigint,col2:double>, Map(mode -> PERMISSIVE))#11]
```
It only makes the alias name quite long: `from_avro(col, struct<col1:bigint,col2:double>, Map(mode -> PERMISSIVE))`).

We should follow `from_csv`/`from_json` here, to override the method prettyName only, and we will get a clean alias name

```
... AS from_avro(col)#11
```

## How was this patch tested?

Manual check

Closes apache#23047 from gengliangwang/backport_avro_pretty_name.

Authored-by: Gengliang Wang <[email protected]>
Signed-off-by: hyukjinkwon <[email protected]>
@ifilonenko ifilonenko force-pushed the pluggable-pod-allocator branch from 49117bb to ab5e3f5 Compare December 6, 2019 19:53
@ifilonenko ifilonenko force-pushed the pluggable-pod-allocator branch from ab5e3f5 to 333f28f Compare December 6, 2019 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant