You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemds.apache.org by ba...@apache.org on 2022/04/19 16:27:30 UTC

[systemds] branch main updated (dd0ca2675c -> 27e36fc53a)

This is an automated email from the ASF dual-hosted git repository.

baunsgaard pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/systemds.git


    from dd0ca2675c [SYSTEMDS-3351] Python Test Docs
     add 25c112eb76 [SYSTEMDS-3345] Add support for as.boolean(X)
     new 27e36fc53a [MINOR] Fix system warnings vscode

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .gitignore                                         |   3 +
 src/main/java/org/apache/sysds/parser/dml/Dml.g4   |   2 +-
 .../org/apache/sysds/parser/dml/DmlLexer.interp    |   2 +-
 .../java/org/apache/sysds/parser/dml/DmlLexer.java | 391 +++++++++++----------
 .../controlprogram/caching/CacheableData.java      |   1 -
 .../fed/AggregateBinaryFEDInstruction.java         |   1 +
 ...trixTest.java => AsBooleanVsAsLogicalTest.java} |  46 ++-
 .../misc/{castBoolean.dml => castingTest.dml}      |   9 +-
 8 files changed, 236 insertions(+), 219 deletions(-)
 copy src/test/java/org/apache/sysds/test/functions/misc/{PrintMatrixTest.java => AsBooleanVsAsLogicalTest.java} (60%)
 copy src/test/scripts/functions/misc/{castBoolean.dml => castingTest.dml} (93%)


[systemds] 01/01: [MINOR] Fix system warnings vscode

Posted by ba...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

baunsgaard pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/systemds.git

commit 27e36fc53a7454d63764a4a5bb3ca83527f3727e
Author: baunsgaard <ba...@tugraz.at>
AuthorDate: Tue Apr 19 18:24:55 2022 +0200

    [MINOR] Fix system warnings vscode
    
    Closes #1579
---
 .../org/apache/sysds/runtime/controlprogram/caching/CacheableData.java   | 1 -
 .../sysds/runtime/instructions/fed/AggregateBinaryFEDInstruction.java    | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sysds/runtime/controlprogram/caching/CacheableData.java b/src/main/java/org/apache/sysds/runtime/controlprogram/caching/CacheableData.java
index 3cee338f7d..f2bb3d4b4a 100644
--- a/src/main/java/org/apache/sysds/runtime/controlprogram/caching/CacheableData.java
+++ b/src/main/java/org/apache/sysds/runtime/controlprogram/caching/CacheableData.java
@@ -36,7 +36,6 @@ import org.apache.sysds.common.Types.ExecMode;
 import org.apache.sysds.common.Types.FileFormat;
 import org.apache.sysds.common.Types.ValueType;
 import org.apache.sysds.conf.ConfigurationManager;
-import org.apache.sysds.conf.DMLConfig;
 import org.apache.sysds.hops.OptimizerUtils;
 import org.apache.sysds.hops.fedplanner.FTypes.FType;
 import org.apache.sysds.runtime.DMLRuntimeException;
diff --git a/src/main/java/org/apache/sysds/runtime/instructions/fed/AggregateBinaryFEDInstruction.java b/src/main/java/org/apache/sysds/runtime/instructions/fed/AggregateBinaryFEDInstruction.java
index a49d6decff..abbe17d09e 100644
--- a/src/main/java/org/apache/sysds/runtime/instructions/fed/AggregateBinaryFEDInstruction.java
+++ b/src/main/java/org/apache/sysds/runtime/instructions/fed/AggregateBinaryFEDInstruction.java
@@ -153,6 +153,7 @@ public class AggregateBinaryFEDInstruction extends BinaryFEDInstruction {
 	 * @param outputID ID of the output
 	 * @param ec execution context
 	 */
+	@SuppressWarnings("unused")
 	private void setPartialOutput(FederationMap federationMap, MatrixLineagePair mo1, MatrixLineagePair mo2,
 		long outputID, ExecutionContext ec){
 		MatrixObject out = ec.getMatrixObject(output);