This file contains 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
public List<?> translate(LanguageObject obj, ExecutionContext context) { | |
List<?> parts = null; | |
if (obj instanceof Function) { | |
Function function = (Function)obj; | |
if (functionModifiers != null) { | |
String name = function.getName(); | |
while (true) { | |
FunctionModifier modifier = functionModifiers.get(name); | |
if (modifier != null) { | |
parts = modifier.translate(function); |
This file contains 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
#!/bin/bash | |
JBOSS_DIR=~/wkspace/teiid-8.10.0.Alpha1-SNAPSHOT | |
## Link Teiid jars from build into server. | |
for dest in $(find "$JBOSS_DIR/modules" -path '*/org/jboss/teiid/*' -name '*.*ar'); | |
do | |
file=$(basename $dest) | |
src=$(find ~/.m2/repository -name "$file" | head -1) | |
if [ "$src" = "" ]; then continue; fi |
This file contains 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
diff --git a/api/src/main/java/org/teiid/language/visitor/SQLStringVisitor.java b/api/src/main/java/org/teiid/language/visitor/SQLStringVisitor.java | |
index eacedb5..92abc54 100644 | |
--- a/api/src/main/java/org/teiid/language/visitor/SQLStringVisitor.java | |
+++ b/api/src/main/java/org/teiid/language/visitor/SQLStringVisitor.java | |
@@ -41,7 +41,9 @@ import org.teiid.language.SQLConstants.NonReserved; | |
import org.teiid.language.SQLConstants.Tokens; | |
import org.teiid.language.SortSpecification.Ordering; | |
import org.teiid.metadata.AbstractMetadataRecord; | |
+import org.teiid.metadata.Column; | |
import org.teiid.metadata.Table; |
This file contains 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
diff --git a/install.sh b/install.sh | |
index d81b835..8e91857 100755 | |
--- a/install.sh | |
+++ b/install.sh | |
@@ -11,6 +11,7 @@ TEIID_DIST=teiid-${TEIID_VERSION}-jboss-dist.zip | |
SOURCES=( | |
"jboss-eap.zip" | |
"teiid-console-dist.zip" | |
+ "ironjacamar.zip" | |
) |
This file contains 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
#!/bin/bash | |
BASE_URL="https://repository.jboss.org/nexus/content/groups/public/org/jboss/ironjacamar" | |
VERSION="1.0.26.Final" | |
MODULE_DIR="modules/system/layers/base/org/jboss/ironjacamar" | |
ZIP_FILE="ironjacamar-$VERSION.zip" | |
## Push CWD onto stack, then make directory | |
## and CD into it. | |
function pushmkcd { |