vertica / dblink Goto Github PK
View Code? Open in Web Editor NEWA Vertica User Defined Transform function to interact with other databases via ODBC
License: Apache License 2.0
A Vertica User Defined Transform function to interact with other databases via ODBC
License: Apache License 2.0
I think we can start with the Apache 2.0 License.
We need to add the license in the folder.
Each file of the project should start with:
# (c) Copyright [2018-2022] Micro Focus or one of its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# You may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
@mfelici can you add any useful information here?
@roypaulin can you take the lead on that one?
One of the goal is to do some tests on multiple Vertica version to see which one we do support.
As already discussed, it would be nice to be able to use directly a DSN as a parameter.
=> SELECT l.id, l.description, tab_a.value value_a, tab_b.value value_b
-> FROM tab_local l
-> LEFT JOIN (SELECT DBLINK(USING PARAMETERS cid='orcl', query='SELECT * FROM tab1') OVER()) tab_a
-> ON tab_a.id = l.id
-> LEFT JOIN (SELECT DBLINK(USING PARAMETERS cid='orcl', query='SELECT * FROM tab1') OVER()) tab_b
-> ON tab_b.id = l.id;
ERROR 8092: Failure in UDx RPC call InvokeProcessPartition() in User Defined Object [dblink]: UDx side process has exited abnormally
dblink has several global variables and doesn't consider being called multiple times in one query.
For example, in the first call, DBLinkFactory.getReturnType() sets the data type array pointer to 'Odt' global variable. Then, the same method sets a different pointer to that variable in the second call. After that, 'Obt' global variable is cleared by clean() method called by processPartition(). But the cleared pointer is for the second call. So the second call failed when accessing this variable.
@mfelici you'll be able to do it when the environment is ready.
@roypaulin This is the process (via Github Action):
We should remove any dependencies from docker in the Makefile. In case we need to take care of a "non standard" environment or a specific need than we will have to isolate the required changes:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.