Skip to content

Commit b5b762a

Browse files
mihaibudiuKarakatiza666
authored andcommitted
Update docs
Signed-off-by: Karakatiza666 <bulakh.96@gmail.com>
1 parent 06c9f63 commit b5b762a

File tree

3 files changed

+9
-5
lines changed
  • crates/pipeline-manager
  • docs.feldera.com/docs/sql
  • sql-to-dbsp-compiler/SQL-compiler/src/test/java/org/dbsp/sqlCompiler/compiler/sql

3 files changed

+9
-5
lines changed

crates/pipeline-manager/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
6262
let mut resource_dir = NpmBuild::new("../../js-packages/web-console")
6363
.executable("bun")
6464
.run("clean-install")
65-
.expect("Could not run `bun ci`. Follow set-up instructions in js-packages/web-console/README.md")
65+
.expect("Could not run `bun clean-install`. Follow set-up instructions in js-packages/web-console/README.md")
6666
.run("build")
6767
.expect("Could not run `bun run build`. Run it manually in js-packages/web-console/ to debug.")
6868
.target(asset_path.clone())

docs.feldera.com/docs/sql/binary.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ aggregation functions `BIT_AND`, `BIT_OR`, and `BIT_XOR`.
3939
<th>Examples</th>
4040
</tr>
4141
<tr>
42-
<td><a id="bin2utf8"></a><codeBIN2UTF8</code></td>
43-
<td>Convert a BINARY value into a VARCHAR value by reinterpretting the content as UTF-8 characters; returns NULL on failure</td>
44-
<td><code>BIN2UTF8(x'4041')</code> => <code>'AB'</code></td>
42+
<td><a id="bin2utf8"></a><code>BIN2UTF8</code></td>
43+
<td>Convert a BINARY value into a VARCHAR value by reinterpreting the content as UTF-8 characters; returns NULL on failure</td>
44+
<td><code>BIN2UTF8(x'4041')</code> => <code>'@A'</code></td>
4545
</tr>
4646
<tr>
4747
<td><a id="concat"></a><code>||</code></td>

sql-to-dbsp-compiler/SQL-compiler/src/test/java/org/dbsp/sqlCompiler/compiler/sql/OtherTests.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -771,11 +771,15 @@ CREATE VIEW V2 AS SELECT id, ARG_MIN(f_c1, f_c2) AS c1, ARG_MIN(f_c2, f_c1) AS c
771771
}
772772

773773
@Test @Ignore("To be invoked manually every time a new function is added")
774-
public void generateFunctionIndex() throws IOException {
774+
public void generateFunctionIndex() throws IOException, InterruptedException {
775775
// When invoked it generates documentation for the supported functions and operators
776776
// in the specified file.
777777
String file = "../../docs.feldera.com/docs/sql/function-index.md";
778778
FunctionDocumentation.generateIndex(file);
779+
Utilities.runProcess(BaseSQLTests.PROJECT_DIRECTORY + "/../docs.feldera.com",
780+
"yarn");
781+
Utilities.runProcess(BaseSQLTests.PROJECT_DIRECTORY + "/../docs.feldera.com",
782+
"yarn", "build");
779783
}
780784

781785
@Test

0 commit comments

Comments
 (0)