Skip to content

Conversation

@Micah-Kolide
Copy link
Contributor

This PR extends the optimized columns for POSIX platforms. I've split up the optimized changes into multiple PRs to make it easier to validate the table generation methods. I've only added tables where I believe and tested the generate methods support the IN optimization.

I've confirmed that the columns can support these changes by querying the tables with an IN constraint on the optimized columns. I validated the expected results by comparing returned values from osquery 5.13.1 (before IN optimization existed), 5.14.1, and 5.14.1 containing these spec file changes.

With each query I included a NULL, '' (empty string), and some non-existent values in my IN constraint.

Tests were ran on macOS Sequoia: Version 15.2 Beta (24C5079e) and Linux Ubuntu: 6.8.0-1018-gcp (Ubuntu 12.3.0-1ubuntu1~22.04).

@Micah-Kolide Micah-Kolide requested review from a team as code owners December 11, 2024 18:14
@directionless directionless merged commit 17d7e83 into osquery:master Dec 16, 2024
22 checks passed
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.

3 participants