Skip to content

rgw: hiding parquet dependencies upon parquet-select option is off#60621

Merged
galsalomon66 merged 1 commit intoceph:mainfrom
galsalomon66:mask_parquet_dependencies
Nov 8, 2024
Merged

rgw: hiding parquet dependencies upon parquet-select option is off#60621
galsalomon66 merged 1 commit intoceph:mainfrom
galsalomon66:mask_parquet_dependencies

Conversation

@galsalomon66
Copy link
Copy Markdown
Contributor

@galsalomon66 galsalomon66 commented Nov 5, 2024

upon a user wishes to build RGW without parquet (option is off), the parquet code-lines should be masked.

fixes: https://tracker.ceph.com/issues/68829

Contribution Guidelines

  • To sign and title your commits, please refer to Submitting Patches to Ceph.

  • If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.

  • When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows
  • jenkins test rook e2e

@galsalomon66 galsalomon66 requested a review from a team as a code owner November 5, 2024 07:07
@github-actions github-actions Bot added the rgw label Nov 5, 2024
@galsalomon66 galsalomon66 changed the title hiding parquet dependencies upon parquet-select option is off rgw: hiding parquet dependencies upon parquet-select option is off Nov 5, 2024
@mkogan1 mkogan1 self-requested a review November 5, 2024 08:15
Copy link
Copy Markdown
Contributor

@mkogan1 mkogan1 left a comment

Choose a reason for hiding this comment

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

LGTM,
this fixes the build error with -DWITH_RADOSGW_SELECT_PARQUET=OFF

Signed-off-by: Gal Salomon <gal.salomon@gmail.com>
@galsalomon66 galsalomon66 force-pushed the mask_parquet_dependencies branch from 1150bb6 to 141b675 Compare November 5, 2024 15:31
Comment thread src/rgw/rgw_s3select.cc Outdated
op_ret = -ERR_INVALID_REQUEST;
} else {
//status per amount of processed data
//#ifdef _ARROW_EXIST
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.

why adding a comment? or is there a pre-processor manipulating this file before compilation?

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.

why adding a comment? or is there a pre-processor manipulating this file before compilation?

it's a temporary.
i ran teuthology, it failed, i want to verify it is not related to the recent change.

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.

What I was trying to say: as this is an approved PR, it probably should not be merged with those comments

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.

i ran teuthology, it failed, i want to verify it is not related to the recent change.

@galsalomon66 the failures in https://pulpito.ceph.com/gsalomon-2024-11-06_12:03:18-rgw:verify-mask_parquet_dependencies-distro-default-smithi/ look like they're caused by the RGWPSListTopicsOp crashes tracked in https://tracker.ceph.com/issues/68756 (cc @yuvalif)

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.

Thanks @cbodley

@jmundack
Copy link
Copy Markdown
Contributor

jmundack commented Nov 7, 2024

fair to assume we can get this in once the PR checks complete?

@galsalomon66
Copy link
Copy Markdown
Contributor Author

jenkins test api

1 similar comment
@yuvalif
Copy link
Copy Markdown
Contributor

yuvalif commented Nov 8, 2024

jenkins test api

@galsalomon66 galsalomon66 merged commit 1757f0f into ceph:main Nov 8, 2024
@cbodley cbodley mentioned this pull request Apr 24, 2025
14 tasks
@galsalomon66
Copy link
Copy Markdown
Contributor Author

#62959 (backport into squid)

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.

6 participants