Skip to content

Commit

Permalink
Merge branch 'refactor' of https://github.com/polypheny/Polypheny-DB
Browse files Browse the repository at this point in the history
…into backup-development
  • Loading branch information
datomo committed Dec 13, 2023
2 parents 7245140 + 3c4b827 commit 38c3962
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion webui/src/main/java/org/polypheny/db/webui/Crud.java
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ void insertTuple( final Context ctx ) throws IOException {
long entityId = Long.parseLong( unparsed );

LogicalTable table = Catalog.snapshot().rel().getTable( entityId ).orElseThrow();
LogicalNamespace namespace = Catalog.snapshot().getNamespace( Catalog.defaultNamespaceId ).orElseThrow();
LogicalNamespace namespace = Catalog.snapshot().getNamespace( table.namespaceId ).orElseThrow();
String entityName = String.format( "\"%s\".\"%s\"", namespace.name, table.name );

Transaction transaction = getTransaction();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ public static List<String[]> computeResultData( final List<List<PolyValue>> rows
temp[counter] = null;
} else {
String columnName = String.valueOf( header.get( counter ).name.hashCode() );
File mmFolder = PolyphenyHomeDirManager.getInstance().getGlobalFile( "/tmp" ).orElseThrow();
File mmFolder = PolyphenyHomeDirManager.getInstance().registerNewFolder( "/tmp" );
mmFolder.mkdirs();
ContentInfoUtil util = new ContentInfoUtil();
if ( List.of( PolyType.FILE.getName(), PolyType.VIDEO.getName(), PolyType.AUDIO.getName(), PolyType.IMAGE.getName() ).contains( header.get( counter ).dataType ) ) {
Expand Down

0 comments on commit 38c3962

Please sign in to comment.