Repository navigation
AsterixDB Source Operator - #1044
Merged
Merged
Conversation
zuozhiw
approved these changes
Feb 22, 2021
zuozhiw
left a comment
Contributor
There was a problem hiding this comment.
Left a minor comment.
I saw a new icon file is added. I believe we already have another icon file, can you please check and only keep one file?
| * @param queryBuilder queryBuilder for concatenation | ||
| * @throws RuntimeException if attribute does not support string based search | ||
| */ | ||
| @throws[RuntimeException] |
Contributor
There was a problem hiding this comment.
can you add the syntax to opdesc operator description so the user can see the syntax?
Contributor
Author
|
I am adding support for [email protected] (Big DB's deployed version). |
Yicong-Huang
marked this pull request as draft
February 25, 2021 07:29
Contributor
Author
|
Converted this as a draft now since progressive logic on AsterixDB needs more discussion. |
Yicong-Huang
marked this pull request as ready for review
February 25, 2021 21:08
yangzhang75
pushed a commit
to yangzhang75/texera
that referenced
this pull request
Jun 22, 2026
## This PR implements `AsterixDBSourceOp`. ### Limitations and design compromises: 1. Due to the fact that AsterixDB supports semistructured data, while Texera only supports row-based data, we have to flatten any existing datatypes in AsterixDB in order to create a `Tuple` in Texera. Currently, we do the flattening in AsterixDB by requesting special defined queries, which result in format of [`CSV`](https://asterixdb.apache.org/docs/0.9.6/csv.html). This `CSV` format can also save network load, comparing to `JSON` or `ADM`. 2. ~~The connection to AsterixDB is `HTTP` based, the response are in `JSON`. We need to parse this `JSON` response to get the result (the actual result could be in `CSV` format). We used `scalaj` as the `HTTP` Client, however it cannot parse some special encodings. Thus it will result in a loss of un-parsable data. This only occurs when any text field contains non `UTF-8` characters. We need to explore better `HTTP Client`s in scala to handle this issue.~~ **Update: now replaced `scalaj` with `unirest-java`, problem solved.** 3. For simplicity, we are using the `synchronized API` instead of the `asynchronous API` to query from AsterixDB. ~~Currently the timeout limit is set to `10` seconds, which means the `HTTP Response` of the query `Request` must get returned in 10 seconds, otherwise it will be dropped.~~ This also means the query that we sent must not be very expensive. To support an expensive query, we can utilize the `progressive mode`, which cuts an expensive query into several mini queries that can respond within ~~10 seconds~~. **Update: will keep using synchronized API as the Texera operator itself is synchronized.** 4. Full text search query is pretty complex and not well defined in AsterixDB, some known issues: - Disjunction on multiple Conjunctions would give `Internal Error` (on versions <=0.9.5) Example: `(ftcontains(t.text, ["Today", "at", "work"], {'mode': 'all' }) OR ftcontains(t.text, ['Today', 'at', 'home'], {'mode': 'all' }))` **Solution**: remove "all" when using Disjunction on multiple Conjunctions, because mode by default will be `'all'`: `(ftcontains(t.text, ["Today", "at", "work"]) OR ftcontains(t.text, ['Today', 'at', 'home']))` - Does not support phrase search. Given the issues above, right now we only support one input from keywords, in either Disjunction (`'any'`) or Conjunction (`'all'`) mode. The example input on `keywords` parameter is as following: - `['Today', 'at', 'work'], {'mode': 'all'}` - `['Today', 'at', 'work'], {'mode': 'any'}` 5. The `HTTPClient` uses `logback`, which default log level is set to `DEBUG`. This will result in a massive amount of logging, which needs to be addressed later. <sup> Created from JetBrains using [CodeStream](https://codestream.com/?utm_source=cs&utm_medium=pr&utm_campaign=github*com)</sup>
Yicong-Huang
added a commit
to Yicong-Huang/texera
that referenced
this pull request
Jul 5, 2026
…tes (apache#6177) Bumps the python-patch group in /amber with 6 updates: | Package | From | To | | --- | --- | --- | | [textual](https://github.com/Textualize/textual) | `8.2.7` | `8.2.8` | | [loguru](https://github.com/Delgan/loguru) | `0.7.0` | `0.7.3` | | [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) | `2.0.37` | `2.0.51` | | [requests](https://github.com/psf/requests) | `2.34.0` | `2.34.2` | | [wordcloud](https://github.com/amueller/word_cloud) | `1.9.3` | `1.9.6` | | torch | `2.12.0` | `2.12.1+cpu` | Updates `textual` from 8.2.7 to 8.2.8 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Textualize/textual/releases">textual's releases</a>.</em></p> <blockquote> <h2>The more super release</h2> <p>Fixes for extended key processing, and a crash bug for clicking the screen padding area.</p> <h2>[8.2.8] - 2026-06-30</h2> <h3>Fixed</h3> <ul> <li>Fixed parsing Kitty extended keys with multiple codepoints <a href="https://redirect.github.com/Textualize/textual/pull/6592">Textualize/textual#6592</a></li> <li>Fixed crash when clicking in the Screen's padding <a href="https://redirect.github.com/Textualize/textual/pull/6598">Textualize/textual#6598</a></li> </ul> <h3>Changed</h3> <ul> <li>super+backspace is now an alias for ctrl+u in Input and TextArea <a href="https://redirect.github.com/Textualize/textual/pull/6594">Textualize/textual#6594</a></li> <li>alt+backspace (option+backspace on Mac) has the same effect as ctrl+backspace in Input and TextArea <a href="https://redirect.github.com/Textualize/textual/pull/6593">Textualize/textual#6593</a></li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Textualize/textual/blob/main/CHANGELOG.md">textual's changelog</a>.</em></p> <blockquote> <h2>[8.2.8] - 2026-06-30</h2> <h3>Fixed</h3> <ul> <li>Fixed parsing Kitty extended keys with multiple codepoints <a href="https://redirect.github.com/Textualize/textual/pull/6592">Textualize/textual#6592</a></li> <li>Fixed crash when clicking in the Screen's padding <a href="https://redirect.github.com/Textualize/textual/pull/6598">Textualize/textual#6598</a></li> </ul> <h3>Changed</h3> <ul> <li>super+backspace is now an alias for ctrl+u in Input and TextArea <a href="https://redirect.github.com/Textualize/textual/pull/6594">Textualize/textual#6594</a></li> <li>alt+backspace (option+backspace on Mac) has the same effect as ctrl+backspace in Input and TextArea <a href="https://redirect.github.com/Textualize/textual/pull/6593">Textualize/textual#6593</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Textualize/textual/commit/1d99508b928a771b51e1a527319c6b87dcff9e05"><code>1d99508</code></a> Merge pull request <a href="https://redirect.github.com/Textualize/textual/issues/6609">#6609</a> from Textualize/bump828</li> <li><a href="https://github.com/Textualize/textual/commit/ab36ccc741a7f6d1d10b12e1eafd8fedaa515df1"><code>ab36ccc</code></a> Bump 8.2.8</li> <li><a href="https://github.com/Textualize/textual/commit/da5b7aa98717289207270ed6c9fcd68c78e54c17"><code>da5b7aa</code></a> Merge pull request <a href="https://redirect.github.com/Textualize/textual/issues/6598">#6598</a> from Textualize/screen-padding</li> <li><a href="https://github.com/Textualize/textual/commit/77e25d59d8c1e50d1228bbec54f1fdc8f2a3e10b"><code>77e25d5</code></a> changelog</li> <li><a href="https://github.com/Textualize/textual/commit/4e592bfc7bf1d0412d0df6dabee40347b523e1b8"><code>4e592bf</code></a> snapshots</li> <li><a href="https://github.com/Textualize/textual/commit/e02c6cc01461d93141e9ef5dac5a6f029c6ef616"><code>e02c6cc</code></a> fix screen padding crash</li> <li><a href="https://github.com/Textualize/textual/commit/8ce58dc0287e6247f25096c3a1a7349a411cc485"><code>8ce58dc</code></a> Merge pull request <a href="https://redirect.github.com/Textualize/textual/issues/6592">#6592</a> from Textualize/kitty-codepoints</li> <li><a href="https://github.com/Textualize/textual/commit/fec10399fab3c75f14d36d0faa01589b8ae13408"><code>fec1039</code></a> Merge branch 'main' into kitty-codepoints</li> <li><a href="https://github.com/Textualize/textual/commit/aea9d4b5529841757aead36670a8a7f75aa61ed9"><code>aea9d4b</code></a> Merge pull request <a href="https://redirect.github.com/Textualize/textual/issues/6594">#6594</a> from Textualize/super-backspace</li> <li><a href="https://github.com/Textualize/textual/commit/64c1f8b401889628ec40b8ea1afd67a298773831"><code>64c1f8b</code></a> Merge branch 'main' into super-backspace</li> <li>Additional commits viewable in <a href="https://github.com/Textualize/textual/compare/v8.2.7...v8.2.8">compare view</a></li> </ul> </details> <br /> Updates `loguru` from 0.7.0 to 0.7.3 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Delgan/loguru/releases">loguru's releases</a>.</em></p> <blockquote> <h2>0.7.3</h2> <ul> <li>Fix Cython incompatibility caused by the absence of underlying stack frames, which resulted in a <code>ValueError</code> during logging (<a href="https://redirect.github.com/Delgan/loguru/issues/88">#88</a>).</li> <li>Fix possible <code>RuntimeError</code> when removing all handlers with <code>logger.remove()</code> due to thread-safety issue (<a href="https://redirect.github.com/Delgan/loguru/issues/1183">#1183</a>, thanks <a href="https://github.com/jeremyk"><code>@jeremyk</code></a>).</li> <li>Fix <code>diagnose=True</code> option of exception formatting not working as expected with Python 3.13 (<a href="https://redirect.github.com/Delgan/loguru/issues/1235">#1235</a>, thanks <a href="https://github.com/etianen"><code>@etianen</code></a>).</li> <li>Fix non-standard level names not fully compatible with <code>logging.Formatter()</code> (<a href="https://redirect.github.com/Delgan/loguru/issues/1231">#1231</a>, thanks <a href="https://github.com/yechielb2000"><code>@yechielb2000</code></a>).</li> <li>Fix inability to display a literal <code>"\"</code> immediately before color markups (<a href="https://redirect.github.com/Delgan/loguru/issues/988">#988</a>).</li> <li>Fix possible infinite recursion when an exception is raised from a <code>__repr__</code> method decorated with <code>logger.catch()</code> (<a href="https://redirect.github.com/Delgan/loguru/issues/1044">#1044</a>).</li> <li>Improve performance of <code>datetime</code> formatting while logging messages (<a href="https://redirect.github.com/Delgan/loguru/issues/1201">#1201</a>, thanks <a href="https://github.com/trim21"><code>@trim21</code></a>).</li> <li>Reduce startup time in the presence of installed but unused <code>IPython</code> third-party library (<a href="https://redirect.github.com/Delgan/loguru/issues/1001">#1001</a>, thanks <a href="https://github.com/zakstucke"><code>@zakstucke</code></a>).</li> </ul> <h2>0.7.2</h2> <ul> <li>Add support for formatting of <code>ExceptionGroup</code> errors (<a href="https://redirect.github.com/Delgan/loguru/issues/805">#805</a>).</li> <li>Fix possible <code>RuntimeError</code> when using <code>multiprocessing.set_start_method()</code> after importing the <code>logger</code> (<a href="https://redirect.github.com/Delgan/loguru/issues/974">#974</a>).</li> <li>Fix formatting of possible <code>__notes__</code> attached to an <code>Exception</code> (<a href="https://redirect.github.com/Delgan/loguru/issues/980">#980</a>).</li> </ul> <h2>0.7.1</h2> <ul> <li>Add a new <code>context</code> optional argument to <code>logger.add()</code> specifying <code>multiprocessing</code> context (like <code>"spawn"</code> or <code>"fork"</code>) to be used internally instead of the default one (<a href="https://redirect.github.com/Delgan/loguru/issues/851">#851</a>).</li> <li>Add support for true colors on Windows using ANSI/VT console when available (<a href="https://redirect.github.com/Delgan/loguru/issues/934">#934</a>, thanks <a href="https://github.com/tunaflsh"><code>@tunaflsh</code></a>).</li> <li>Fix possible deadlock when calling <code>logger.complete()</code> with concurrent logging of an asynchronous sink (<a href="https://redirect.github.com/Delgan/loguru/issues/906">#906</a>).</li> <li>Fix file possibly rotating too early or too late when re-starting an application around midnight (<a href="https://redirect.github.com/Delgan/loguru/issues/894">#894</a>).</li> <li>Fix inverted <code>"<hide>"</code> and <code>"<strike>"</code> color tags (<a href="https://redirect.github.com/Delgan/loguru/issues/943">#943</a>, thanks <a href="https://github.com/tunaflsh"><code>@tunaflsh</code></a>).</li> <li>Fix possible untraceable errors raised when logging non-unpicklable <code>Exception</code> instances while using <code>enqueue=True</code> (<a href="https://redirect.github.com/Delgan/loguru/issues/329">#329</a>).</li> <li>Fix possible errors raised when logging non-picklable <code>Exception</code> instances while using <code>enqueue=True</code> (<a href="https://redirect.github.com/Delgan/loguru/issues/342">#342</a>, thanks <a href="https://github.com/ncoudene"><code>@ncoudene</code></a>).</li> <li>Fix missing seconds and microseconds when formatting timezone offset that requires such accuracy (<a href="https://redirect.github.com/Delgan/loguru/issues/961">#961</a>).</li> <li>Raise <code>ValueError</code> if an attempt to use nanosecond precision for time formatting is detected (<a href="https://redirect.github.com/Delgan/loguru/issues/855">#855</a>).</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Delgan/loguru/blob/master/CHANGELOG.rst">loguru's changelog</a>.</em></p> <blockquote> <h1><code>0.7.3</code>_ (2024-12-06)</h1> <ul> <li>Fix Cython incompatibility caused by the absence of underlying stack frames, which resulted in a <code>ValueError</code> during logging (<code>[apache#88](Delgan/loguru#88) <https://github.com/Delgan/loguru/issues/88></code>_).</li> <li>Fix possible <code>RuntimeError</code> when removing all handlers with <code>logger.remove()</code> due to thread-safety issue (<code>[apache#1183](Delgan/loguru#1183) <https://github.com/Delgan/loguru/issues/1183></code><em>, thanks <code>@jeremyk <https://github.com/jeremyk></code></em>).</li> <li>Fix <code>diagnose=True</code> option of exception formatting not working as expected with Python 3.13 (<code>[apache#1235](Delgan/loguru#1235) <https://github.com/Delgan/loguru/issues/1235></code><em>, thanks <code>@etianen <https://github.com/etianen></code></em>).</li> <li>Fix non-standard level names not fully compatible with <code>logging.Formatter()</code> (<code>[apache#1231](Delgan/loguru#1231) <https://github.com/Delgan/loguru/issues/1231></code><em>, thanks <code>@yechielb2000 <https://github.com/yechielb2000></code></em>).</li> <li>Fix inability to display a literal <code>"\"</code> immediately before color markups (<code>[apache#988](Delgan/loguru#988) <https://github.com/Delgan/loguru/issues/988></code>_).</li> <li>Fix possible infinite recursion when an exception is raised from a <code>__repr__</code> method decorated with <code>logger.catch()</code> (<code>[apache#1044](Delgan/loguru#1044) <https://github.com/Delgan/loguru/issues/1044></code>_).</li> <li>Improve performance of <code>datetime</code> formatting while logging messages (<code>[apache#1201](Delgan/loguru#1201) <https://github.com/Delgan/loguru/issues/1201></code><em>, thanks <code>@trim21 <https://github.com/trim21></code></em>).</li> <li>Reduce startup time in the presence of installed but unused <code>IPython</code> third-party library (<code>[apache#1001](Delgan/loguru#1001) <https://github.com/Delgan/loguru/issues/1001></code><em>, thanks <code>@zakstucke <https://github.com/zakstucke></code></em>).</li> </ul> <h1><code>0.7.2</code>_ (2023-09-11)</h1> <ul> <li>Add support for formatting of <code>ExceptionGroup</code> errors (<code>[apache#805](Delgan/loguru#805) <https://github.com/Delgan/loguru/issues/805></code>_).</li> <li>Fix possible <code>RuntimeError</code> when using <code>multiprocessing.set_start_method()</code> after importing the <code>logger</code> (<code>[apache#974](Delgan/loguru#974) <https://github.com/Delgan/loguru/issues/974></code>_).</li> <li>Fix formatting of possible <code>__notes__</code> attached to an <code>Exception</code> (<code>[apache#980](Delgan/loguru#980) <https://github.com/Delgan/loguru/issues/980></code>_).</li> </ul> <h1><code>0.7.1</code>_ (2023-09-04)</h1> <ul> <li>Add a new <code>context</code> optional argument to <code>logger.add()</code> specifying <code>multiprocessing</code> context (like <code>"spawn"</code> or <code>"fork"</code>) to be used internally instead of the default one (<code>[apache#851](Delgan/loguru#851) <https://github.com/Delgan/loguru/issues/851></code>_).</li> <li>Add support for true colors on Windows using ANSI/VT console when available (<code>[apache#934](Delgan/loguru#934) <https://github.com/Delgan/loguru/issues/934></code><em>, thanks <code>@tunaflsh <https://github.com/tunaflsh></code></em>).</li> <li>Fix possible deadlock when calling <code>logger.complete()</code> with concurrent logging of an asynchronous sink (<code>[apache#906](Delgan/loguru#906) <https://github.com/Delgan/loguru/issues/906></code>_).</li> <li>Fix file possibly rotating too early or too late when re-starting an application around midnight (<code>[apache#894](Delgan/loguru#894) <https://github.com/Delgan/loguru/issues/894></code>_).</li> <li>Fix inverted <code>"<hide>"</code> and <code>"<strike>"</code> color tags (<code>[apache#943](Delgan/loguru#943) <https://github.com/Delgan/loguru/pull/943></code><em>, thanks <code>@tunaflsh <https://github.com/tunaflsh></code></em>).</li> <li>Fix possible untraceable errors raised when logging non-unpicklable <code>Exception</code> instances while using <code>enqueue=True</code> (<code>[apache#329](Delgan/loguru#329) <https://github.com/Delgan/loguru/issues/329></code>_).</li> <li>Fix possible errors raised when logging non-picklable <code>Exception</code> instances while using <code>enqueue=True</code> (<code>[apache#342](Delgan/loguru#342) <https://github.com/Delgan/loguru/issues/342></code><em>, thanks <code>@ncoudene <https://github.com/ncoudene></code></em>).</li> <li>Fix missing seconds and microseconds when formatting timezone offset that requires such accuracy (<code>[apache#961](Delgan/loguru#961) <https://github.com/Delgan/loguru/issues/961></code>_).</li> <li>Raise <code>ValueError</code> if an attempt to use nanosecond precision for time formatting is detected (<code>[apache#855](Delgan/loguru#855) <https://github.com/Delgan/loguru/issues/855></code>_).</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Delgan/loguru/commit/ae3bfd1b85b6b4a3db535f69b975687c79498be4"><code>ae3bfd1</code></a> Bump version to 0.7.3</li> <li><a href="https://github.com/Delgan/loguru/commit/ccca3566cc00c22eed8659705e45386fa2101b5d"><code>ccca356</code></a> Replace "notifiers" (seems unmaintained) with "apprise" in docs (<a href="https://redirect.github.com/Delgan/loguru/issues/1251">#1251</a>)</li> <li><a href="https://github.com/Delgan/loguru/commit/a372814bf79d47628e66ca9a91072f53fba032f8"><code>a372814</code></a> Configure "trusted publishing" in Github workflow</li> <li><a href="https://github.com/Delgan/loguru/commit/633016db07e5dff63bc05dd3c4d5aa81b6190700"><code>633016d</code></a> Use tox to define the "release" command</li> <li><a href="https://github.com/Delgan/loguru/commit/ef12cbbaf54fb2e64ca66b0a90675cdf9e8a522f"><code>ef12cbb</code></a> Convert README from RST to MD (fix PyPI packaging)</li> <li><a href="https://github.com/Delgan/loguru/commit/cb3314a5af107ad175a9bafa11b1b79670e3067a"><code>cb3314a</code></a> Add Github action to verify packaging</li> <li><a href="https://github.com/Delgan/loguru/commit/6161a13b79e1a3a29e922926b44f26edbcc3c06a"><code>6161a13</code></a> Complete the "Troubleshooting" docs with more examples</li> <li><a href="https://github.com/Delgan/loguru/commit/7f5001fe46393627ced287bba2c4064442c3fd25"><code>7f5001f</code></a> Simplify the example of dynamic handler level</li> <li><a href="https://github.com/Delgan/loguru/commit/2e0cd7bb5105461057c56aefb225da569882ad29"><code>2e0cd7b</code></a> Move "Introduction to logging" docs to a new section</li> <li><a href="https://github.com/Delgan/loguru/commit/72b93d1a24d1491ce7ba752fe36c14f9570a5d63"><code>72b93d1</code></a> Correct outdated instructions for reporting a vulnerability</li> <li>Additional commits viewable in <a href="https://github.com/Delgan/loguru/compare/0.7.0...0.7.3">compare view</a></li> </ul> </details> <br /> Updates `sqlalchemy` from 2.0.37 to 2.0.51 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/sqlalchemy/sqlalchemy/releases">sqlalchemy's releases</a>.</em></p> <blockquote> <h1>2.0.51</h1> <p>Released: June 15, 2026</p> <h2>orm</h2> <ul> <li> <p><strong>[orm] [bug]</strong> Fixed issue where <code>_orm.subqueryload()</code> combined with <code>PropComparator.of_type()</code> and <code>PropComparator.and_()</code> would silently drop the additional filter criteria, causing all related objects to be loaded instead of only those matching the filter. The <code>LoaderCriteriaOption</code> was being constructed against the base entity rather than the effective entity indicated by <code>PropComparator.of_type()</code>. Pull request courtesy Arya Rizky.</p> <p>References: <a href="https://www.sqlalchemy.org/trac/ticket/13207">#13207</a></p> </li> <li> <p><strong>[orm] [bug]</strong> Fixed bug where a failure during <code>tpc_prepare()</code> within <code>_orm.Session.commit()</code> for a two-phase session would raise <code>IllegalStateChangeError</code> instead of the original database exception. The internal <code>_prepare_impl()</code> method's error handler was unable to invoke <code>_orm.SessionTransaction.rollback()</code> due to a state-change guard, preventing proper cleanup and masking the underlying error.</p> <p>References: <a href="https://www.sqlalchemy.org/trac/ticket/13356">#13356</a></p> </li> </ul> <h2>engine</h2> <ul> <li> <p><strong>[engine] [bug]</strong> Fixed issue where <code>Result.freeze()</code> would lose track of ambiguous column names present in the original <code>CursorResult</code>, causing key-based access on the thawed result to silently return a value instead of raising <code>InvalidRequestError</code>. The <code>SimpleResultMetaData</code> now accepts and propagates ambiguous key information so that frozen, thawed, and pickled results raise consistently for duplicate column names. Pull request courtesy Saurabh Kohli.</p> <p>References: <a href="https://www.sqlalchemy.org/trac/ticket/9427">#9427</a></p> </li> </ul> <h2>sql</h2> <ul> <li> <p><strong>[sql] [bug]</strong> Fixed issue where <code>_sql.StatementLambdaElement</code> would proxy attribute access through the cached "expected" expression rather than the resolved expression, causing stale closure-bound parameter values to be used when a lambda statement was extended with non-lambda criteria such as an additional <code>.where()</code> clause. Courtesy cjc0013.</p> <p>References: <a href="https://www.sqlalchemy.org/trac/ticket/10827">#10827</a></p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/sqlalchemy/sqlalchemy/commits">compare view</a></li> </ul> </details> <br /> Updates `requests` from 2.34.0 to 2.34.2 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/psf/requests/releases">requests's releases</a>.</em></p> <blockquote> <h2>v2.34.2</h2> <h2>2.34.2 (2026-05-14)</h2> <ul> <li>Moved <code>headers</code> input type back to <code>Mapping</code> to avoid invariance issues with <code>MutableMapping</code> and inferred dict types. Users calling <code>Request.headers.update()</code> may need to narrow typing in their code. (<a href="https://redirect.github.com/psf/requests/issues/7441">#7441</a>)</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/psf/requests/blob/main/HISTORY.md#2342-2026-05-14">https://github.com/psf/requests/blob/main/HISTORY.md#2342-2026-05-14</a></p> <h2>v2.34.1</h2> <h2>2.34.1 (2026-05-13)</h2> <p><strong>Bugfixes</strong></p> <ul> <li>Widened <code>json</code> input type from <code>dict</code> and <code>list</code> to <code>Mapping</code> and <code>Sequence</code>. (<a href="https://redirect.github.com/psf/requests/issues/7436">#7436</a>)</li> <li>Changed <code>headers</code> input type to MutableMapping and removed <code>None</code> from <code>Request.headers</code> typing to improve handling for users. (<a href="https://redirect.github.com/psf/requests/issues/7431">#7431</a>)</li> <li><code>Response.reason</code> moved from <code>str | None</code> to <code>str</code> to improve handling for users. (<a href="https://redirect.github.com/psf/requests/issues/7437">#7437</a>)</li> <li>Fixed a bug where some bodies with custom <code>__getattr__</code> implementations weren't being properly detected as Iterables. (<a href="https://redirect.github.com/psf/requests/issues/7433">#7433</a>)</li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/k223kim"><code>@k223kim</code></a> made their first contribution in <a href="https://redirect.github.com/psf/requests/pull/7433">psf/requests#7433</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/psf/requests/blob/main/HISTORY.md#2341-2026-05-13">https://github.com/psf/requests/blob/main/HISTORY.md#2341-2026-05-13</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/psf/requests/blob/main/HISTORY.md">requests's changelog</a>.</em></p> <blockquote> <h2>2.34.2 (2026-05-14)</h2> <ul> <li>Moved <code>headers</code> input type back to <code>Mapping</code> to avoid invariance issues with <code>MutableMapping</code> and inferred dict types. Users calling <code>Request.headers.update()</code> may need to narrow typing in their code. (<a href="https://redirect.github.com/psf/requests/issues/7441">#7441</a>)</li> </ul> <h2>2.34.1 (2026-05-13)</h2> <p><strong>Bugfixes</strong></p> <ul> <li>Widened <code>json</code> input type from <code>dict</code> and <code>list</code> to <code>Mapping</code> and <code>Sequence</code>. (<a href="https://redirect.github.com/psf/requests/issues/7436">#7436</a>)</li> <li>Changed <code>headers</code> input type to MutableMapping and removed <code>None</code> from <code>Request.headers</code> typing to improve handling for users. (<a href="https://redirect.github.com/psf/requests/issues/7431">#7431</a>)</li> <li><code>Response.reason</code> moved from <code>str | None</code> to <code>str</code> to improve handling for users. (<a href="https://redirect.github.com/psf/requests/issues/7437">#7437</a>)</li> <li>Fixed a bug where some bodies with custom <code>__getattr__</code> implementations weren't being properly detected as Iterables. (<a href="https://redirect.github.com/psf/requests/issues/7433">#7433</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/psf/requests/commit/6e83187b8feb273ed4c6cdab5efd8d54901dfab3"><code>6e83187</code></a> v2.34.2</li> <li><a href="https://github.com/psf/requests/commit/84d10f0be83e8f6aeca8a05230c52216431c4d0b"><code>84d10f0</code></a> Move Request.headers back to Mapping (<a href="https://redirect.github.com/psf/requests/issues/7441">#7441</a>)</li> <li><a href="https://github.com/psf/requests/commit/b7b549b54571d03950b16afd2d01bc6ff0348224"><code>b7b549b</code></a> v2.34.1</li> <li><a href="https://github.com/psf/requests/commit/e511bc72777a94c45d004e010c597925092e1efe"><code>e511bc7</code></a> Fix mutability issues with headers input types (<a href="https://redirect.github.com/psf/requests/issues/7431">#7431</a>)</li> <li><a href="https://github.com/psf/requests/commit/5691f596134c2feb121e595c77a0178921fcce61"><code>5691f59</code></a> Update JsonType containers to read-based collections (<a href="https://redirect.github.com/psf/requests/issues/7436">#7436</a>)</li> <li><a href="https://github.com/psf/requests/commit/2144213c307691710c9d665700860fc4993c3035"><code>2144213</code></a> Constrain Response.reason to str (<a href="https://redirect.github.com/psf/requests/issues/7437">#7437</a>)</li> <li><a href="https://github.com/psf/requests/commit/6404f345e562d962abe6700a1c357ec1e7e18232"><code>6404f34</code></a> Fix <code>prepare_body</code> stream detection for <code>__getattr__</code>-based file wrappers (<a href="https://redirect.github.com/psf/requests/issues/7">#7</a>...</li> <li>See full diff in <a href="https://github.com/psf/requests/compare/v2.34.0...v2.34.2">compare view</a></li> </ul> </details> <br /> Updates `wordcloud` from 1.9.3 to 1.9.6 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/amueller/word_cloud/releases">wordcloud's releases</a>.</em></p> <blockquote> <h2>1.9.6</h2> <p>Fix support for NumPy 1.X</p> <h2>1.9.5</h2> <ul> <li>Adds support for Python 3.14</li> <li>Minimum supported Python is 3.9</li> </ul> <p>Install with:</p> <pre lang="bash"><code>pip install wordcloud==1.9.5 </code></pre> <h2>1.9.4</h2> <ul> <li>Adds support for Python 3.13</li> </ul> <p>Install with:</p> <pre lang="bash"><code>pip install wordcloud==1.9.4 </code></pre> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/amueller/word_cloud/commit/93c5e4cd50c5f2c56ec7eb624a620790dab5df6c"><code>93c5e4c</code></a> Add support for NumPy 1.X (<a href="https://redirect.github.com/amueller/word_cloud/issues/810">#810</a>)</li> <li><a href="https://github.com/amueller/word_cloud/commit/4c9313b9f1ac672fb2f8b2557566d31522ea78cb"><code>4c9313b</code></a> Add more platforms for cibuildwheel (<a href="https://redirect.github.com/amueller/word_cloud/issues/808">#808</a>)</li> <li><a href="https://github.com/amueller/word_cloud/commit/83414e413b3a666e33da7c73df72a2046cbe1d6f"><code>83414e4</code></a> Update cibuildwheel version to v3.3.0 to get python-3.14 wheels (<a href="https://redirect.github.com/amueller/word_cloud/issues/804">#804</a>)</li> <li><a href="https://github.com/amueller/word_cloud/commit/f52beb2515907549aa4e5f84b514740d43d406c0"><code>f52beb2</code></a> Fix Python 3.14 support (<a href="https://redirect.github.com/amueller/word_cloud/issues/807">#807</a>)</li> <li><a href="https://github.com/amueller/word_cloud/commit/928d1526765e36e8c7b63cab26829a5d7f551f8e"><code>928d152</code></a> Update versions for publish workflow (<a href="https://redirect.github.com/amueller/word_cloud/issues/806">#806</a>)</li> <li><a href="https://github.com/amueller/word_cloud/commit/cfc1e9f203bea06ef89a2d47650c556c4ed4336b"><code>cfc1e9f</code></a> Update license (<a href="https://redirect.github.com/amueller/word_cloud/issues/792">#792</a>)</li> <li><a href="https://github.com/amueller/word_cloud/commit/e0c5e0c222c2f14533973a0b82acfbe4c54f746a"><code>e0c5e0c</code></a> Bump minimum python to 3.9 (<a href="https://redirect.github.com/amueller/word_cloud/issues/801">#801</a>)</li> <li><a href="https://github.com/amueller/word_cloud/commit/c1fe79beccaa2f684e2a2051bf7d6018365b214e"><code>c1fe79b</code></a> fix unclosed file handle (<a href="https://redirect.github.com/amueller/word_cloud/issues/799">#799</a>)</li> <li><a href="https://github.com/amueller/word_cloud/commit/e7753d4b9904a5bc6c96a4705ef43d7169572fda"><code>e7753d4</code></a> Use ubuntu 22.04 and spread the python version between runners (<a href="https://redirect.github.com/amueller/word_cloud/issues/795">#795</a>)</li> <li><a href="https://github.com/amueller/word_cloud/commit/ec24191c64570d287032c5a4179c38237cd94043"><code>ec24191</code></a> Update macos version in cibuildwheel (<a href="https://redirect.github.com/amueller/word_cloud/issues/779">#779</a>)</li> <li>Additional commits viewable in <a href="https://github.com/amueller/word_cloud/compare/1.9.3...1.9.6">compare view</a></li> </ul> </details> <br /> Updates `torch` from 2.12.0 to 2.12.1+cpu Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Yicong Huang <[email protected]> Co-authored-by: Claude Fable 5 <[email protected]>
This was referenced Nov 25, 2026
renovate-bot
pushed a commit
to renovate-bot/apache-_-texera
that referenced
this pull request
Nov 25, 2026
### What changes were proposed in this PR? Remove unused code from the Scala sources and tests of the Amber engine and web server, `workflow-core`, `workflow-operator`, `observability` and the notebook-migration service, and narrow the database reads of the account, notification, dashboard-search, Hub and Jupyter-registration lookups to the columns and rows they use (**+285/-316 lines**). Production behavior does not change. Two CSV tests that are named for multi-line data now read the multi-line file. **Unused code** - **Unused bindings:** pattern, `catch` and callback bindings that nothing reads become `_` in `ClusterListener`, `DeadLetterMonitorActor`, `Utils`, `SequentialRecordStorage`, the argument parsers of `ComputingUnitMaster` and `ComputingUnitWorker`, `WebsocketInput`, `WorkflowWebsocketResource`, `AiAssistantManager`, `ExecFactory`, `VirtualIdentityUtils`, `URLFetchUtil` and `HtmlVizOpDesc`. The two argument parsers end in `case _`, since `case Nil` already takes the empty list. - **`S3StorageClient.uploadObject`:** - `readChunk` uses a plain `while` loop instead of assigning inside the loop condition. - The parts upload in a `while` loop that adds each `CompletedPart` to the Java list the SDK takes. Before, an `Iterator` of `(partNumber, size)` tuples became a Scala `List` and then went back through `.asJava`. - Each part is copied out of the reused buffer once and streamed from that copy. `buffer.take` and `RequestBody.fromBytes`, which calls `Arrays.copyOf` itself, copied it twice. The content provider gives each SDK attempt a fresh stream over the same bytes. - Part numbers, upload order, part sizes, the `application/octet-stream` content type and the read of the next chunk after each upload are unchanged. - **`SQLSourceOpExec.fetchBatchByBoundary`:** returns the result of the type `match` as a `val` instead of overwriting a `var` that starts as `null`. - **Worker statistics:** `StatisticsManager.getStatistics` drops the executor parameter it has not read since its sink-operator check went away. `DataProcessor` and both statistics specs stop passing an executor to it. - **Telemetry:** `WorkflowMetricsRecorder` drops a `LazyLogging` it never logs with, and `WorkflowMetrics` drops the `Cancelled` outcome and the `Unknown` workflow kind that nothing records. - **Scan sources:** `SkippedRowReporter` drops its uncalled `count`, and `ArrowSourceOpExec` drops a batch counter it only increments. - **Arrow Flight benchmark:** sorts each run's latencies once, instead of once per percentile. - **Test helpers:** - `DPThreadSpec.awaitCond` drops its unused default budget, and the spec's callbacks name their unused argument `_`. - `ExternalAuthProvisionerSpec`'s `seedUser` and `seedUserWithEmail` drop the `avatar` parameter that no test passes. - `DictionaryMatcherOpExecSpec.withExecutor`, `HashJoinOpSpec.tuple` and the tuple builders of `IntervalOpExecSpec` drop defaults that every caller overrides. - `PythonWorkerPool` starts its stdout and stderr reader threads without keeping the references it never reads. - **Test fixtures:** - `TestOperators` drops `asterixDBSourceOpDesc`, a descriptor for the AsterixDB server at `ipubmed4.ics.uci.edu` that only its own `TestOperatorsSpec` case still built. It also drops the `multiLine` parameter that `getCsvScanOpDesc` never read. - `headerlessSmallMultiLineDataCsvScanOpDesc` reads `country_sales_headerless_small_multi_line.csv` again, so `DataProcessingSpec`'s headerless multi-line case runs on multi-line data. - The matching `CSVScanSourceOpDescSpec` case now reads that file too, and checks the scanned rows: 100 rows of 14 fields, a quoted value with commas, and two values with line breaks. **Database reads** - **Account, login and notification queries:** - `AuthResource`'s login query selects the user columns and the password hash, instead of every column of the joined `auth_provider` and `user` rows. `ExternalAuthProvisioner`'s lookup selects only the user columns. - The admin-bootstrap and add-email checks in `AuthResource`, the duplicate-email check in `AdminUserResource` and `UserResource.isJoiningReasonRequired` read one column, or use `selectOne`, instead of a full user row. - `GmailResource` reads only the requester's name and the admins' email addresses, compiles its email regex once, and passes the subject and the domain-suffixed content to `createMimeMessage` instead of copying the `EmailMessage`. - **Dashboard search:** - `searchAllResources` builds its results in one pass over the first `count` rows. Before, it built a list of entries, filtered out the omitted ones, and scanned the list again for `hasMismatch`. - `getOrderFields` drops the `case None` branch and the private `getColumnField` with its `case _ => null`, which its regex makes unreachable, and compiles the regex once. - `WorkflowSearchQueryBuilder` builds its access condition as a `val` instead of overwriting a `DSL.trueCondition()` initializer. `VersionedResourceSearchQueryBuilder` drops a `getGroupByFields` override that returns the base default. - `VersionedResourceTables.hydrate` stops pairing each entry with a resource ID that every caller discarded, drops `idOf`, and reads the owner email from the record without building a `User` POJO. - **Hub (`HubResource`):** - The versioned-resource lookup selects the resource columns, the owner email and the privilege that `hydrate` reads, instead of every joined column. `VersionedResourceTables.hydrationFields` defines that list next to `hydrate`, because a query that left a column out would get a `null` email or privilege without an error. - `isLikedHelper` collects the liked IDs with `fetchSet`. Like/unlike and clone check for an existing row with `fetchExists` instead of fetching it, and like/unlike no longer goes through the batch helper. - `getCounts` reuses each entity type's request group, and drops the zero entries it added for missing view counts, since the lookup already defaults to 0. - **Notebook migration:** `NotebookMigrationResource` stops selecting the notebook ID it never reads, and drops `JSONB` casts that its typed fields make redundant. `JupyterEndpointResolver` selects the two registration URLs instead of a full `user_jupyter` row, and `JupyterProvisioner` derives a healthy registration's token once instead of twice. **Tests for rewritten paths no test reached** - `DatasetSearchQueryBuilderSpec` runs a dataset search over a dataset that lakeFS rejects, and expects it left out with `hasMismatch` set. - `HubResourceSpec` fetches such a dataset by ID and expects it dropped. - `AdminUserResourceSpec` moves a user to an address no other account uses. | Event | PR / Commit | | --- | --- | | Introduced by | Amber engine and web server: apache#945 (2021-01-05), apache#1101 (2021-05-03), apache#1387 (2022-02-10), apache#1381 (2022-05-13), apache#1671 (2022-11-07), apache#1677 (2022-11-07), apache#2060 (2023-07-14), apache#2529 (2024-03-29), apache#2570 (2024-04-07), apache#2808 (2024-09-02); account and notification queries: apache#3080 (2024-11-19), apache#3393 (2025-04-29), apache#3440 (2025-06-08), apache#4185 (2026-02-16), apache#7055 (2026-08-10), apache#7758 (2026-08-21), apache#7639 (2026-08-30), apache#7978 (2026-08-31); dashboard search and Hub: apache#2358 (2024-02-23), apache#2838 (2024-09-25), apache#3252 (2025-02-09), apache#3446 (2025-05-26), apache#3442 (2025-06-28), apache#3519 (2025-07-09), apache#7928 (2026-08-26), apache#7930 (2026-09-01), apache#8890 (2026-10-27); `workflow-core`: apache#2271 (2024-01-18), apache#3183 (2024-12-31), apache#4067 (2025-11-25); `workflow-operator`: apache#1013 (2021-02-11), apache#1866 (2023-03-23), apache#3139 (2024-12-06), apache#3186 (2024-12-31), apache#6947 (2026-10-02); `observability`: apache#5376 (2026-10-27); notebook migration: apache#5258 (2026-06-24), apache#8032 (2026-09-03); tests and benchmark: apache#1044 (2021-02-25), apache#1083 (2021-04-25), apache#1227 (2021-07-25), apache#2254 (2023-12-13), apache#2302 (2024-02-05), apache#3425 (2025-05-26), apache#4836 (2026-05-03), apache#5439 (2026-06-06), apache#5557 (2026-06-11), apache#6077 (2026-07-03), apache#7116 (2026-07-31), apache#7207 (2026-08-14), apache#7870 (2026-08-23), apache#7875 (2026-08-31), apache#9534 (2026-11-19), apache#9518 (2026-11-21) | | Usage removed by | AsterixDB fixture: apache#1118 (2021-05-11, `Disable dependent tests with AsterixDB`) commented out its only test use, which apache#3294 (2025-03-04) deleted; multi-line fixture: apache#3111 (2024-11-26, `Update amber to depend on sub projects`) pointed `headerlessSmallMultiLineDataCsvScanOpDesc` at the single-line file; `awaitCond`'s default budget: apache#9534 (2026-11-19, `test(amber): share engine and service test fixtures`) routed its last callers through a helper that always passes one; `getStatistics`' executor parameter: apache#3312 (2025-03-12, `Remove Sink Operator in the Backend`) dropped its only read, the sink-operator check; everything else: unused or redundant since introduction | As of 2026-11-24, the AsterixDB fixture has had no test use for over 5 years, and the headerless multi-line CSV fixture has read single-line data for about 12 months. ### Any related issues, documentation, discussions? Closes apache#9680. ### How was this PR tested? The first commit (`cb95cd29b7`) ran on its base, `main` at `de3f021dec`. The second commit ran on this branch before it (`2e980903c8`, after merging `main`) and after it, the third likewise on `dee7711a88`, the fourth on `3870a2da97`, and the fifth on `4c244837bf`. Both used Windows 11, JDK 17, `UDF_PYTHON_PATH` set to Python 3.12, and Docker for the RustFS container that `S3StorageClientSpec` starts. The e2e case uses the Hadoop Iceberg catalog because no REST catalog runs on this machine: ```bash WUNUSED='set ThisBuild / scalacOptions += "-Wunused:patvars,params,privates"' sbt "$WUNUSED" "WorkflowCore/testOnly org.apache.texera.amber.core.executor.CoreExecutorReflectionSpec org.apache.texera.amber.util.VirtualIdentityUtilsSpec org.apache.texera.service.util.S3StorageClientSpec" sbt "$WUNUSED" "WorkflowOperator/testOnly org.apache.texera.amber.operator.TestOperatorsSpec org.apache.texera.amber.operator.dictionary.DictionaryMatcherOpExecSpec org.apache.texera.amber.operator.hashJoin.HashJoinOpSpec org.apache.texera.amber.operator.intervalJoin.IntervalOpExecSpec org.apache.texera.amber.operator.source.fetcher.URLFetchUtilSpec org.apache.texera.amber.operator.source.fetcher.URLFetcherOpExecSpec org.apache.texera.amber.operator.source.scan.csv.CSVScanSourceOpDescSpec org.apache.texera.amber.operator.source.scan.csv.CSVScanSourceOpExecSpec org.apache.texera.amber.operator.source.sql.* org.apache.texera.amber.operator.visualization.htmlviz.HtmlVizOpDescSpec org.apache.texera.amber.util.python.PythonWorkerPoolSpec" sbt "$WUNUSED" "WorkflowExecutionService/testOnly org.apache.texera.amber.clustering.ClusterListenerSpec org.apache.texera.amber.engine.architecture.messaginglayer.DeadLetterMonitorActorSpec org.apache.texera.amber.engine.architecture.worker.DPThreadSpec org.apache.texera.amber.engine.common.UtilsSpec org.apache.texera.amber.engine.common.storage.SequentialRecordStorageSpec org.apache.texera.web.ComputingUnitMasterSpec org.apache.texera.web.ComputingUnitWorkerSpec org.apache.texera.web.WebsocketInputSpec org.apache.texera.web.resource.WorkflowWebsocketResourceSpec org.apache.texera.web.resource.aiassistant.AiAssistantManagerSpec org.apache.texera.web.resource.auth.ExternalAuthProvisionerSpec" sbt "$WUNUSED" "WorkflowExecutionService/testOnly org.apache.texera.web.TexeraWebApplicationSpec org.apache.texera.web.resource.GmailResourceSpec org.apache.texera.web.resource.auth.AuthResourceSpec org.apache.texera.web.resource.auth.ExternalAuthProvisionerSpec org.apache.texera.web.resource.auth.OrcidAuthResourceSpec org.apache.texera.web.resource.dashboard.DashboardResourceSpec org.apache.texera.web.resource.dashboard.DatasetSearchQueryBuilderSpec org.apache.texera.web.resource.dashboard.ModelSearchQueryBuilderSpec org.apache.texera.web.resource.dashboard.UnifiedResourceSchemaSpec org.apache.texera.web.resource.dashboard.VersionedResourceTablesSpec org.apache.texera.web.resource.dashboard.WorkflowSearchQueryBuilderSpec org.apache.texera.web.resource.dashboard.admin.user.AdminUserResourceSpec org.apache.texera.web.resource.dashboard.file.DatasetResourceSpec org.apache.texera.web.resource.dashboard.file.WorkflowResourceSpec org.apache.texera.web.resource.dashboard.hub.EntityTablesSpec org.apache.texera.web.resource.dashboard.hub.HubEntityModelSpec org.apache.texera.web.resource.dashboard.hub.HubResourceSpec org.apache.texera.web.resource.dashboard.user.UserResourceSpec org.apache.texera.web.resource.dashboard.user.workflow.WorkflowPublishSpec org.apache.texera.web.service.WorkflowEmailNotifierSpec" STORAGE_ICEBERG_CATALOG_TYPE=hadoop sbt "$WUNUSED" "WorkflowExecutionService/testOnly org.apache.texera.amber.engine.e2e.DataProcessingSpec -- -z headerlessMultiLineDataCsv" sbt "$WUNUSED" Observability/test NotebookMigrationService/test "WorkflowOperator/testOnly org.apache.texera.amber.operator.source.scan.*" sbt "$WUNUSED" "WorkflowExecutionService/testOnly org.apache.texera.amber.engine.architecture.coordinator.promisehandlers.ConsoleMessageHandlerSpec org.apache.texera.amber.engine.architecture.messaginglayer.WorkerTimerServiceSpec org.apache.texera.amber.engine.architecture.worker.DPThreadSpec org.apache.texera.amber.engine.architecture.worker.DataProcessorRPCHandlerInitializerSpec org.apache.texera.amber.engine.architecture.worker.DataProcessorSpec org.apache.texera.amber.engine.architecture.worker.WorkerSpec org.apache.texera.amber.engine.architecture.worker.WorkflowWorkerSpec org.apache.texera.amber.engine.architecture.worker.managers.StatisticsManagerSpec org.apache.texera.amber.engine.architecture.worker.managers.WorkerManagersSpec org.apache.texera.amber.engine.architecture.worker.promisehandlers.EndChannelHandlerSpec org.apache.texera.amber.engine.architecture.worker.promisehandlers.EndHandlerSpec org.apache.texera.amber.engine.architecture.worker.promisehandlers.FinalizeCheckpointHandlerSpec org.apache.texera.amber.engine.architecture.worker.promisehandlers.StartChannelHandlerSpec org.apache.texera.amber.engine.architecture.worker.promisehandlers.StartHandlerSpec org.apache.texera.amber.engine.common.UtilsSpec org.apache.texera.amber.engine.faulttolerance.CheckpointSpec org.apache.texera.web.observability.WorkflowMetricsRecorderSpec" sbt "$WUNUSED" "WorkflowExecutionService/testOnly org.apache.texera.web.resource.dashboard.DatasetSearchQueryBuilderSpec org.apache.texera.web.resource.dashboard.DashboardResourceSpec org.apache.texera.web.resource.dashboard.admin.user.AdminUserResourceSpec org.apache.texera.web.resource.dashboard.hub.HubResourceSpec org.apache.texera.web.ComputingUnitMasterSpec org.apache.texera.web.ComputingUnitWorkerSpec" sbt "$WUNUSED" "WorkflowExecutionService/testOnly org.apache.texera.web.resource.dashboard.DatasetSearchQueryBuilderSpec org.apache.texera.web.resource.dashboard.ModelSearchQueryBuilderSpec org.apache.texera.web.resource.dashboard.VersionedResourceTablesSpec org.apache.texera.web.resource.dashboard.DashboardResourceSpec org.apache.texera.web.resource.dashboard.hub.EntityTablesSpec org.apache.texera.web.resource.dashboard.hub.HubEntityModelSpec org.apache.texera.web.resource.dashboard.hub.HubResourceSpec" sbt WorkflowCore/scalafmtCheckAll WorkflowOperator/scalafmtCheckAll WorkflowExecutionService/scalafmtCheckAll Observability/scalafmtCheckAll NotebookMigrationService/scalafmtCheckAll "WorkflowCore/scalafixAll --check" "WorkflowOperator/scalafixAll --check" "WorkflowExecutionService/scalafixAll --check" "Observability/scalafixAll --check" "NotebookMigrationService/scalafixAll --check" ``` - JUnit XML, compared per test: - First commit: the first three test commands and the e2e case run 36 suites that load every file the commit changes, and `SQLSourceOpExecSpec` calls `fetchBatchByBoundary` for each numeric type through a mocked JDBC result. All 554 tests pass on `main` and all 553 with the commit. Each test has the same outcome as on `main`; the missing one is the removed `asterixDBSourceOpDesc` case. - Second commit: the fourth command runs the 20 suites that load the account, notification, dashboard-search and Hub code, against an embedded PostgreSQL. All 525 tests pass before and after the commit, each with the same outcome. - Third commit: the sixth and seventh test commands run every `Observability`, `NotebookMigrationService` and scan-source suite, plus the worker, statistics, checkpoint and telemetry suites that load the changed classes. Before and after it, 581 of the 595 tests in these 48 suites pass, each with the same outcome. The other 14 fail on both sides on this machine: 13 `ParquetScanSourceOpDescSpec` cases need Hadoop's Windows binaries, and one `FileScanSourceOpDescSpec` case hits a Windows temp-file lock. - Fourth commit: the eighth test command runs the six suites it touches. All 179 tests pass, the three new ones included. - Fifth commit: the ninth test command runs the seven suites that load `VersionedResourceTables` or the Hub query. All 182 tests pass. - On the second commit's head, all 55 suites of the first two rounds pass, the e2e case included: 1,059 tests. - `S3StorageClientSpec` runs its 34 cases against RustFS 1.0.0 in Testcontainers on both sides. They include a 6 MiB upload (a 5 MiB part and a 1 MiB tail) that downloads back byte for byte, an empty upload, and the abort when the input stream fails after the first part. - With the fixture pointed back at `country_sales_headerless_small.csv`, the strengthened `CSVScanSourceOpDescSpec` case fails: row 8 reads `Republic of the Congo` instead of `Republic,of,the,Congo`. The `DataProcessingSpec` case runs the multi-line file through the engine and gets the same 100 rows that the single-line file gives on `main`. - scalafmt and scalafix pass on all five touched modules. - With `-Wunused:patvars,params,privates`, the compiler reports 26 unused names in the files of the first commit on `main`. That commit removes 24 of them. The other two are `config` and `cr`, which the `@OnOpen` and `@OnClose` methods of `WorkflowWebsocketResource` need for the WebSocket API's signatures; they are reported on both. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (Claude Opus 5.5)
renovate-bot
pushed a commit
to renovate-bot/apache-_-texera
that referenced
this pull request
Nov 25, 2026
…9686) ### What changes were proposed in this PR? Remove code that nothing uses, and constructs that repeat a default or an alias, from the Python tests, the agent service, three frontend specs, the AsterixDB source and the RustFS test container, and make an unreachable error check in the single-node example loader reachable (**+84/−137 lines**). Only the loader's behavior changes: a workflow file that `jq` cannot parse is now reported and skipped instead of aborting the loader. - **Python tests (14 files):** `test_console_message.py` drops the unused `internal_queue` and `timed_buffer` fixtures and their imports. Two tests drop fixture parameters they never read (`executor`, `a_timestamp`), and `test_proxy_client.py` names an unused loop value `_`. The others write `dict(...)` calls as literals, return from fixtures that yield without teardown, drop empty `@pytest.fixture()` parentheses, merge nested `with` blocks, return a value directly instead of through a local, take the first element with `next(iter(...))`, and spell `datetime.timezone.utc`, `socket.timeout` and `bytes()` as `datetime.UTC`, `TimeoutError` and `b""` (Ruff targets Python 3.11). - **Agent service:** `src/agent/index.ts` and `src/api/index.ts` only re-export modules that callers import directly. No file imports either barrel, and the package entry is `src/index.ts`. `workflow-system-metadata.ts` drops the unused `OperatorSchema` and `ValidationError` type imports. - **Frontend specs:** the dataset and model creator specs drop `FormsModule` and `HttpClientTestingModule`, which `createFormlyModalFixture` already provides, and the admin Gmail spec drops three modules that the standalone component and its stubbed service do not need. - **`load-examples.sh`:** tests the `content=$(jq -c . "$workflow_file")` assignment in the `if` instead of checking `$?` after it. The script runs under `set -euo pipefail` and `main` calls `load_workflows` directly, so the old check could never fire: a workflow file that `jq` could not parse aborted the loader and skipped the files after it, although the comment above `FAILURES` calls each failure deliberately non-fatal. Now `print_error` counts the file, the loop moves on, and `main` still exits non-zero at the end. `test_load_examples_sh.sh` adds a case with an unparseable workflow sorted ahead of a good one. - **AsterixDB source:** `AsterixDBConnUtil` and `AsterixDBSourceOpExec` assign the version response and the parsed row once as `val`s instead of overwriting `null` and `None` placeholders. - **`RustFSContainer`:** drops the Scaladoc lines saying the console is left disabled. RustFS 1.0.0 enables the console by default, and the fixture does not override it. | Event | PR / Commit | | --- | --- | | Introduced by | Python tests: apache#1259 (2021-07-23), apache#1498 (2022-04-15), apache#1452 (2022-05-13), apache#2067 (2023-07-27), apache#1748 (2023-11-09), apache#2815 (2024-09-05), apache#4520 (2026-04-27), apache#4704, apache#4719 and apache#4795 (2026-05-03), apache#4893 (2026-05-04), apache#6643 (2026-07-20), apache#6988 (2026-07-29), apache#7374 (2026-08-07), apache#7579 (2026-08-13), apache#8067 (2026-08-29), apache#8542 (2026-09-15), apache#9279 (2026-11-04), apache#8704 (2026-11-05), apache#9623 (2026-11-23); agent service: apache#4020 (2025-11-25), apache#4495 and apache#4540 (2026-04-28); frontend specs: apache#6513 (2026-07-18), apache#6576 (2026-07-20), apache#8068 (2026-08-28); `load-examples.sh`: apache#4247 (2026-03-02); AsterixDB source: apache#1044 (2021-02-25); `RustFSContainer`: apache#8542 (2026-09-15) | | Usage removed by | Creator spec modules: apache#9522 (2026-11-22, `refactor(frontend): share dataset and model resource UI`) moved both specs to `createFormlyModalFixture`. Everything else: unused, unreachable or redundant since introduction. | As of 2026-11-24: - The AsterixDB placeholders have been overwritten before any read for over 5 years. - The console-message fixtures have been unused for over 2 years. - The `load-examples.sh` check has been unreachable for almost 9 months. - The agent-service barrels have had no importer for the 7 months the service has existed. - The creator spec modules have been redundant for 2 days. ### Any related issues, documentation, discussions? Closes apache#9685. ### How was this PR tested? Ran on this branch and on `main` at `424b2a757a` (Windows 11; Python 3.12 with CI's pinned `ruff` 0.14.7; Node 24 with Yarn 4.14.1; Bun 1.3.13; JDK 17; the loader test in an Alpine container with Bash 5.2.21 and jq 1.7.1): ```bash cd amber ruff check src/main/python src/test/python ruff format --check src/main/python src/test/python pytest $(git diff --name-only --relative origin/main -- src/test/python) cd ../agent-service bun test bun run typecheck cd ../frontend npx ng test --watch=false --include='**/user-dataset-creator.component.spec.ts' --include='**/user-model-creator.component.spec.ts' --include='**/admin-gmail.component.spec.ts' npx tsc --noEmit -p src/tsconfig.spec.json yarn prettier-eslint --list-different $(git diff --name-only --relative origin/main -- src) yarn eslint $(git diff --name-only --relative origin/main -- src) cd .. sbt "WorkflowOperator/testOnly org.apache.texera.amber.operator.source.sql.*" WorkflowCore/Test/compile WorkflowOperator/scalafmtCheckAll WorkflowCore/scalafmtCheckAll "WorkflowOperator/scalafixAll --check" "WorkflowCore/scalafixAll --check" bash bin/single-node/tests/test_load_examples_sh.sh ``` - **Python:** - Ruff passes on all 218 files. - The 14 changed test files run 288 tests with the same outcome per test on both sides: 218 pass, 67 are skipped and 3 fail. - The three failures are timestamp cases in `test_ui_parameter_contract.py` that expect UTC and come out 8 hours off in this machine's time zone. They fail the same way on `main`. - **Agent service:** all 361 tests in 20 files and the typecheck pass on both sides. - **Frontend:** the three specs run 37 tests, all passing on both sides. The spec typecheck, prettier-eslint and ESLint pass. - **Scala:** the 11 `source.sql` suites, including the three AsterixDB specs, run 204 tests that all pass on both sides. WorkflowCore's tests compile, and scalafmt and scalafix pass on both modules. - **`load-examples.sh`:** `test_load_examples_sh.sh` passes all 11 checks. Against `main`'s loader, the 9 existing checks pass and the 2 new ones fail: `jq` exits 5 at the malformed file, and the loader stops there without creating the other workflow. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (Claude Opus 5.5)
This was referenced Nov 26, 2026
renovate-bot
pushed a commit
to renovate-bot/apache-_-texera
that referenced
this pull request
Nov 26, 2026
### What changes were proposed in this PR? Remove redundant code from the frontend, the licensing scripts, two Scala sources and the agent service (**+26/−41 lines**). There is no behavior change. - **Dataset and model detail pages:** each `route.params` emission was switched to `this.route.data`, and the empty `.subscribe()` threw away what that emitted. The pages now `tap` the params, so the same fetches run in the same order without the extra subscription. The dataset page's `THROTTLE_TIME_MS` also becomes file-local: `workspace.component.ts` and the hub spec import the copy in `hub-workflow-detail.component.ts`, never this one. - **Version uploader:** the abort handler's 404 branch called `done()` and returned, which is what the handler already does for every error it does not retry. Its three constants become file-local: nothing imported `FINISHED_TASK_HIDE_DELAY_MS`, and only the spec imported the other two. The spec now states the retry policy it expects. - **Computing-unit actions:** `confirmAndTerminate` reads `unit.computingUnit.uri` and `unit.computingUnit.name` before `unit?.computingUnit.type`, so the `?.` goes. - **Loop blocks:** `LOOP_END_OP_TYPE` becomes file-local. Only its spec imported it, and the spec now checks the backend's `"LoopEnd"` name directly. - **Agent interaction:** two imports from `agent.service` become one. - **Licensing scripts:** `audit_jar_licenses.py` stored each group's notice hash in a field that nothing reads, and the NOTICE test helper `make_jar` had an `extra` parameter that no caller passes. - **`PveResource`:** drops `import javax.ws.rs.DELETE` and `import javax.ws.rs.PathParam`, which `import javax.ws.rs._` already covers. - **`SQLSourceOpExec` and `AsterixDBSourceOpExec`:** five fallback arms list `BOOLEAN`, `STRING` and `ANY` before a trailing `_`, as in `case AttributeType.BOOLEAN | AttributeType.STRING | AttributeType.ANY | _`. The `_` matches those types as well, so each becomes `case _`. - **`agent-service/.dockerignore`:** Docker reads the ignore file at the root of the build context. CI's image matrix (`build-and-push-images.yml`) and `bin/build-images.sh` both use the repository root as the context, and the agent Dockerfile copies `agent-service/...` paths from there, so the root `.dockerignore` applies and this file is never read. | Event | PR / Commit | | --- | --- | | Introduced by | Dataset and model detail: apache#2413 (2024-02-26), apache#3269 (2025-02-19), apache#8072 (2026-08-28); version uploader: apache#4136 (2026-01-05), moved by apache#8078 (2026-08-31); computing-unit actions: apache#4331 (2026-04-09); loop blocks: apache#8640 (2026-10-24); agent interaction: apache#6009 (2026-11-13); licensing scripts: apache#4387 (2026-04-29), apache#5417 (2026-06-10); `PveResource`: apache#5035 (2026-05-13); `SQLSourceOpExec`: apache#1013 (2021-02-11); `AsterixDBSourceOpExec`: apache#1044 (2021-02-25); `agent-service/.dockerignore`: apache#4495 (2026-04-28) | | Usage removed by | `agent-service/.dockerignore`: apache#4544 (2026-05-01) added the agent image's Dockerfile with paths from the repository root, so no build has read the file. Everything else: unused or redundant since introduction. | As of 2026-11-25: - The SQL sources' fallback arms have listed redundant types for over 5 years. - The dataset page's discarded subscription is almost 3 years old. - The version uploader's 404 branch has been redundant for over 10 months. - `agent-service/.dockerignore` has gone unread for almost 7 months. - The duplicate agent import is 12 days old. ### Any related issues, documentation, discussions? Closes apache#9691. ### How was this PR tested? Ran on this branch and on `main` at `afc2b3db7a` (Windows 11; Node 24 with Yarn 4.14.1; Python 3.12 with pytest 9.0.3 and CI's pinned `ruff` 0.14.7; JDK 17): ```bash cd frontend npx ng test --watch=false --include='**/dataset-detail.component.spec.ts' --include='**/model-detail.component.spec.ts' --include='**/version-uploader.component.spec.ts' --include='**/computing-unit-actions.service.spec.ts' --include='**/loop-block.util.spec.ts' --include='**/agent-interaction.component.spec.ts' npx tsc --noEmit -p src/tsconfig.app.json npx tsc --noEmit -p src/tsconfig.spec.json yarn prettier-eslint --list-different $(git diff --name-only --relative origin/main -- src) yarn eslint $(git diff --name-only --relative origin/main -- src) cd .. pytest bin/licensing ruff check bin/licensing/audit_jar_licenses.py bin/licensing/test_generate_notice_binary.py python bin/licensing/audit_jar_licenses.py <directory of 60 jars> sbt "WorkflowOperator/testOnly org.apache.texera.amber.operator.source.sql.*" "WorkflowExecutionService/testOnly org.apache.texera.web.resource.pythonvirtualenvironment.*" WorkflowOperator/scalafmtCheckAll WorkflowExecutionService/scalafmtCheckAll "WorkflowOperator/scalafixAll --check" "WorkflowExecutionService/scalafixAll --check" ``` - **Frontend:** the six specs run 379 tests, all passing on both sides. Both typechecks, prettier-eslint and ESLint pass. - **Python:** the licensing tests run 53 tests and 5 subtests, all passing on both sides, and Ruff passes. `audit_jar_licenses.py` prints the same report on both sides for 60 jars from the local Coursier cache. - **Scala:** - The 11 `source.sql` suites run 204 tests, all passing on both sides. - The two PVE resource suites run 75 tests on both sides: 74 pass and 1 is canceled. The canceled test needs a file that is not executable, which this Windows filesystem cannot represent. - scalafmt and scalafix pass on both modules. - **`agent-service/.dockerignore`:** no image was built. The build context comes from `context="."` for every `bin/dockerfiles/*.dockerfile` in `build-and-push-images.yml`, and from the `..` that `bin/build-images.sh` passes from `bin/`. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (Claude Opus 5.5)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR implements
AsterixDBSourceOp.Limitations and design compromises:
Due to the fact that AsterixDB supports semistructured data, while Texera only supports row-based data, we have to flatten any existing datatypes in AsterixDB in order to create a
Tuplein Texera. Currently, we do the flattening in AsterixDB by requesting special defined queries, which result in format ofCSV. ThisCSVformat can also save network load, comparing toJSONorADM.The connection to AsterixDB isHTTPbased, the response are inJSON. We need to parse thisJSONresponse to get the result (the actual result could be inCSVformat). We usedscalajas theHTTPClient, however it cannot parse some special encodings. Thus it will result in a loss of un-parsable data. This only occurs when any text field contains nonUTF-8characters. We need to explore betterHTTP Clients in scala to handle this issue.Update: now replaced
scalajwithunirest-java, problem solved.For simplicity, we are using the
synchronized APIinstead of theasynchronous APIto query from AsterixDB.Currently the timeout limit is set toThis also means the query that we sent must not be very expensive. To support an expensive query, we can utilize the10seconds, which means theHTTP Responseof the queryRequestmust get returned in 10 seconds, otherwise it will be dropped.progressive mode, which cuts an expensive query into several mini queries that can respond within10 seconds.Update: will keep using synchronized API as the Texera operator itself is synchronized.
Full text search query is pretty complex and not well defined in AsterixDB, some known issues:
Internal Error(on versions <=0.9.5)Example:
(ftcontains(t.text, ["Today", "at", "work"], {'mode': 'all' }) OR ftcontains(t.text, ['Today', 'at', 'home'], {'mode': 'all' }))Solution: remove "all" when using Disjunction on multiple Conjunctions, because mode by default will be
'all':(ftcontains(t.text, ["Today", "at", "work"]) OR ftcontains(t.text, ['Today', 'at', 'home']))Given the issues above, right now we only support one input from keywords, in either Disjunction (
'any') or Conjunction ('all') mode. The example input onkeywordsparameter is as following:['Today', 'at', 'work'], {'mode': 'all'}['Today', 'at', 'work'], {'mode': 'any'}The
HTTPClientuseslogback, which default log level is set toDEBUG. This will result in a massive amount of logging, which needs to be addressed later.Created from JetBrains using CodeStream