Skip to content

Commit

Permalink
Addressing review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
asolimando committed Jul 11, 2024
1 parent 71def85 commit 344d3fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ protected static class LineParser implements Function1<String, Object[]> {
} else {
values[fieldIdx] = field(PS_FIELD_NAMES.get(fieldIdx), tokens[processedTokens]);
}

return values;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
*/
class PsTableFunctionTest {

/** Test case for
* <a href="https://issues.apache.org/jira/browse/CALCITE-6388">[CALCITE-6388]
* PsTableFunction throws NumberFormatException when the 'user' column has spaces</a>.
*/
@Test void testPsInfoParsing() {
final List<String> input = new ArrayList<>();
input.add("startup user 56399 1 56399 0 S 0.0 0.0 410348128 6672 ??"
Expand Down

0 comments on commit 344d3fd

Please sign in to comment.