Skip to content
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

Rebas #1

Merged
merged 110 commits into from
Mar 17, 2020
Merged

Rebas #1

merged 110 commits into from
Mar 17, 2020

Conversation

tooptoop4
Copy link
Owner

No description provided.

kokosing and others added 30 commits March 5, 2020 22:27
Both for system-level and connector-level access control
This adds compilation and maven checks with Java 13 on CI.

This also restores running maven checks on Java 8 that were removed
in f5b8496. As long as we support Java
8 for development, it is better to run check on 8 too.
Hive metastore allows external location pointing at another managed
table's location, so allow the same in file metastore.
Calling Regions.getCurrentRegion() attempts to access the EC2
instance metadata endpoint, but doing so repeatedly can result
in being rate-limited. When that happens, null is returned and
other operations that access the metadata endpoint such as
instance profile credential refreshes can fail. This updates
calls to Regions.getCurrentRegion() through a new class that
caches the first successful region lookup and fails loudly
when current region resolution fails instead of returning null.
This allows large prepared statements.
This is useful for connectors that have a source decimal value that
is larger than Presto supports and thus need to round it.
This adds support for changing the owner of an existing schema
to a new user or role.
`information_schema` will be inaccessible anyway.

`sys` could be accessible, but
- it doesn't work (contains JdbcStorageHandler tables and Hive views)
- exposing it may require proper handling in access control.
findepi and others added 29 commits March 16, 2020 09:07
Some implementations, especially of SystemAccessControl, might need
to know the type of a column to produce an appropriate masking expression.
For example, a typed null, by producing CAST(null AS <type>).
Before this change, cross join required that the outputSymbols list
was a concatenation of outputSymbol lists of left source and right source.
This change adds support for reordering the left-source and right-source
symbols in the operator. It is still required that left-source symbols
precede right-source symbols in the outputSymbols list.
Example: for
    cross join
	- left source outputs [a, b],
	- right source outputs [c],
before this chenge, the only supported output layout was [a, b, c].
After this change, also [b, a, c] is supported.
This fixes the problem of conflicting JMX keys for S3 statistics
when Hive and Iceberg connectors are loaded.
This is required to use access control during expression analysis.
Access control requires to SecurityContext which requires a transaction.
This fixes TestAccumuloDistributedQueries failure.
- Remove redundant variable usage
- Prefer assertEquals if possible
- Prefer assertNull if possible
- Avoid raw type usage
- Remove deprecated beginInsert usage
Since configuration directory (etc) is binded in read-only mode
binding a completely new file in an environment extender is imposible
which is why this placeholder is neeeded.
Allows for better reuse in connectors reading Parquet, such as the
IcebergPageSourceProvider.
@tooptoop4 tooptoop4 merged commit 1ded40d into tooptoop4:master Mar 17, 2020
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.