Skip to content

GEOMESA-3600 Trino - clean up docs - #3601

Merged
elahrvivaz merged 2 commits into
locationtech:mainfrom
elahrvivaz:emilio/trino_docs
Jul 24, 2026
Merged

GEOMESA-3600 Trino - clean up docs#3601
elahrvivaz merged 2 commits into
locationtech:mainfrom
elahrvivaz:emilio/trino_docs

Conversation

@elahrvivaz

Copy link
Copy Markdown
Contributor

closes #3600

@elahrvivaz elahrvivaz added this to the 6.0.0 milestone Jul 24, 2026
public static final Param AUTHS = new Param("geomesa.security.auths", String.class,
"Comma-delimited superset of authorizations to be used for queries", false);
/** When true, ignore implicit authorizations from the underlying Trino user. */
public static final Param AUTHS_FORCE_EMPTY = new Param("geomesa.security.auths.force-empty",

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

i think this isn't used, it was an accumulo-specific thing where we look up default auths based on the connector credential.

@cwdobbins cwdobbins Jul 24, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

oh but it is!

@cwdobbins cwdobbins Jul 24, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Because I looked at the accumulo datastore config an example of what we should implement, force-empty is indeed supported and looked for, but is probably implemented wrong- it literally overrides the auths to the empty set, which will only return data from tables with no vis column or rows with no visibilities spec'd

Nevermind, saw that you yanked this in revisions in this PR.

@Override public Param[] getParametersInfo() {
return new Param[]{HOST, PORT, CATALOG, SCHEMA, NAMESPACE, USER,
AUTHS, AUTHS_FORCE_EMPTY, AUTH_PROVIDER, SECRET};
return new Param[]{HOST, PORT, SCHEMA, USER, AUTHS, SECRET, NAMESPACE};

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

i removed auth_provider here b/c this list is mainly just to populate the store page on geoserver, and there auth providers would expect to be SPI loaded and configured. but even without auth_provider here, you could still pass in a custom auth provider if you wanted (like for testing), and it would work

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

good by me

Comment on lines +30 to +34
``geomesa.spatial.bbox-page-filter`` controls whether the connector injects a bounding-box filter for spatial predicates. The
filter can eliminate rows based on fast bounding box comparisons, without having to decode the full binary geometry
value. But when disabled, the bounding box columns can be skipped, resulting in higher throughput. Thus, the filter is most
useful when it eliminates many rows, for example when data is coarsely partitioned. Otherwise, regular manifest and
file-level pruning may be sufficient. See :ref:`trino_design` for more details on query pruning.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Refreshingly to the point :)

@cwdobbins

Copy link
Copy Markdown
Contributor

LGTM

@elahrvivaz
elahrvivaz merged commit 93af8a3 into locationtech:main Jul 24, 2026
70 checks passed
@elahrvivaz
elahrvivaz deleted the emilio/trino_docs branch July 24, 2026 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Trino - Clean up documentation

2 participants