Publish Date: 01/31/2019
Contents
UNIONs
between sharded and replicated
tables or distributed JOINs
, are now possible using SQL syntax or
/execute/sql
. The database will automatically re-shard or replicate tables
temporarily as necessary to help process the query. Note that the distributed
query can be slower and use more memory than a traditional non-distributed
operation. The sql.distributed_joins
setting in
/opt/gpudb/core/etc/gpudb.conf
controls the ability to use distributed
operations.Build Date: 08/06/20
TRACKID
columns for
track tablesIF_ERROR(expr, val)
-- Evaluates the given expression expr
. If it
resolves to infinity or NaN
, return val
; otherwise return the
evaluated expressionIF_INF(expr, val)
-- Evaluates the given expression expr
. If it
resolves to infinity, return val
; otherwise return the evaluated
expressionIF_NAN(expr, val)
-- Evaluates the given expression expr
. If it
resolves to NaN
, return val
; otherwise return the evaluated
expression*_turn_penalty
and intersection_penalty
options (if set):WEIGHTS_FROM_EDGE_ID
WEIGHTS_TO_EDGE_ID
RESTRICTIONS_FROM_EDGE_ID
RESTRICTIONS_TO_EDGE_ID
/wms
operationsWEIGHTS_WKTPOINT, WEIGHTS_FACTORSPECIFIED
SHORTEST_PATH
solutions:output_edge_path
-- adds a column to the solution table containing the
concatenated edge IDs for each source and target pairoutput_wkt_path
-- adds a column to the solution table containing the
concatenated edge WKT line segments for each source and target pair/solve/graph
endpoint's SHORTEST_PATH
solution type
accuracy particularly in cases of directed social graphssource_nodes
and
destination_nodes
pairs when using the SHORTEST_PATH
solution type
in /solve/graph
Build Date: 07/06/20
PRODUCT()
aggregate and window function. For
window functions, the PRODUCT()
aggregate is only supported when using
default framing.SAMPLE_PRIORITY
match identifierST_FORCE2D
-- A geospatial function that returns the 2-dimensional
version (e.g., X and Y coordinates) of all provided geometriesST_FORCE3D
-- A geospatial function that returns the 3-dimensional
version (e.g., X, Y, and Z coordinates) of all provided geometries; if
the geometry does not have a Z value already, a 0
will be
registered as its Z value. An optional second argument can be provided
to register a constant Z value for all provided geometries or to register
a column's values as Z values for all provided geometriesBuild Date: 06/03/20
SHOW SECURITY
command to display the following:enable_authorization
configuration setting is set to false,
indicating that no authorization restrictions are in effectGRANT
permission while the
enable_authorization
configuration setting
is set to false, indicating that the GRANT
will have no effect since no
authorization restrictions are in effecttimeout
option to every endpoint that can be used
to override the global request_timeout
configuration settingmax_num_threads
optionenable_truck_reuse
option for the
/match/graph Multiple Supply Demand solver that enables
the scheduling of multiple rounds for a truck from the same originating depottruck_service_limit
option for the
/match/graph Multiple Supply Demand solver that enables
users to add constraints to the optimization based on the total cost of any
truck's delivery routingGPUdbTableMonitor
class that assists in handling table
monitorsBuild Date: 05/06/20
SHOW PROCEDURES *
command that shows all
SQL proceduresRowsPerInsertion
parameter to the ODBC and JDBC drivers
to control bulk insertion batch sizes--password
and --truststorepwd
options from
KiSQL. If the respective environment variables are not
set, the user will be prompted for a password insteadINSERT
statementsunit_unloading_cost
, to the
/match/graph endpoint that accounts for unloading time
in the overall solution cost and optimizationtopics.regex
parameter
that will sink to a single table.
characters in topic namesBuild Date: 04/09/20
MATCH_SUPPLY_DEMAND
solver that allows users to control the global max
trip cost allowed for any supplier (truck) assigned to a demand (depot)ST_DISSOLVE
geospatial functionBuild Date: 03/17/20
GROUP BY
operations' output for EXPLAIN [VERBOSE|ANALYZE]
ST_POLYGONIZE
-- A geospatial function that creates a geometry
collection containing polygons formed from given (MULTI)LINESTRING
geometriesST_DISSOLVEOVERLAPPING
-- A geospatial aggregate function that operates
similarly to ST_DISSOLVE
but is optimized for overlapping polygonsBuild Date: 02/17/20
SHOW SECURITY
commanddecimal
and ulong
type columnsdate
and datetime
type valuesT
and Z
in datetime
values to enable
interpretation of UTC time expressions, e.g., 2018-01-01T10:11:12Z
TO_CHAR
formats:DAY
-- full name of the day, e.g., Wednesday
M
-- non-leading-zero monthC
-- non-leading-zero calendar dayH24
-- non-leading-zero 24-hour formatH12
-- non-leading-zero 12-hour formatH
-- non-leading-zero hourdate
, datetime
, and time
columns to the
/aggregate/minmax endpointSQL EXPLAIN
plans for GROUP BY
operationsST_LINESTRINGFROMORDEREDPOINTS3D
.
This function creates 3D WKT LINESTRINGs (or POINTs)ST_DISSOLVE
, ST_INTERSECTS
, and
ST_DIFFERENCE
geospatial functionsBuild Date: 01/15/20
GRANT
a permission the user
already has or when a user attempts to REVOKE
a permission they do not
haveRESTRICTIONS_EDGE_DIRECTION
identifier for
use in the /create/graph and
/modify/graph endpointsST
functions--s-drop-malformed-rows
flag that skips ingesting rows of a
CSV file that do not fit the schema of the table into which they are being
ingested. This flag is currently only valid for transfers from CSV files
to Kinetica using the Spark engineBuild Date: 12/11/19
CHAR
, LOWER
, and UPPER
functions in JDBC
escape sequences-v
/ --version
) flag to KIOegress.batch_size
to control the batch
size/gadmin/gpudbManager/getLogs
endpoint of GAdmin to address a command-injection vulnerability.
(as of 7.0.11.5)
Build Date: 11/13/19
*
) in place of schema and
table names for GRANT
and REVOKE
statementsEXPLAIN ANALYZE VERBOSE
with operations that do not explicitly join
tables but are processed using joins to achieve the desired resultLIKE
statements&
(AND
)|
(OR
)^
(exclusive OR
)<<
(left shift)>>
(right shift)~
(NOT
)ipv4_part
function that enables extraction of any of the four
parts of an IPV4 addressSHORTEST_PATH
solver in /solve/graph or using the
MATCH_BATCH_SOLVES
solver (with the appropriate Match Identifier Combinations)
in /match/graphmodify
option to /create/graph that
enables an existing graph to be updated with new options or new nodes, edges,
weights, and/or restrictions from new/updated data in its source tablesST_*GRID
functions to 100 million (from 20 million)assume_no_nulls
to the RKinetica connector that optimizes
JSON deserialization when the expected result is not expected to contain
NULL
valuesoffset
and limit
options to the Spark connector egress
processor to enable batch/paginated reading--s-batch-iterator-column-name
flag to the Advanced Import
tool, which takes a column and uses it to iterate over data when ingesting
into Kinetica from PostgreSQL--using this feature will provide better ingest
performanceBuild Date: 10/16/19
return_individual_errors
-- if set to true
, any error that occurred
when inserting an individual record will be returnedallow_partial_batch
-- if set to true
, all records that did not
error during insertion will be inserted and all records that did error
will be rejected and reporteddry_run
-- if set to true
, no records will be inserted and any
errors will be returnedevict_columns
option in the
/alter/system/properties endpointmatch_supply_demand
solver in the /match/graph endpointBuild Date: 10/07/19
9999
, sometimes used to mark
a date as unknown or in the future; however, year values between 2900
and
9999
are not supportedPermissive
-- Kinetica will attempt to ingest all rows regardless
of errorSkip
-- Kinetica will attempt to ingest all rows that did not
error during validationAbort
-- Kinetica will stop ingest upon encountering an errorpermissive
-- KIO will attempt to ingest all rows regardless of errordropmalformed
-- KIO will drop malformed recordsBuild Date: 08/21/2019
UPDATE
and DELETE
operations using
distributed queries (IN
sub-queries)is true
comparisonsKI_HINT_REPL_SYNC
- when a server receives a SQL statement with this
hint included, the HA process will execute the SQL statement across the
cluster synchronouslyKI_HINT_REPL_ASYNC
- when a server receives a SQL statement with this
hint included, the HA process will execute the SQL statement across the
cluster asynchronouslySHOW <materialized_view_name>
. Only applies to materialized views created
using SQLHAVING
clauses and
/aggregate/unique
-related operationsEXPLAIN
plans should
a query failLIST
partition keyUSER ADMIN
permission in support of the new
system user admin rolesystem_user_admin
permission in support of the new
system user admin rolePublish Date: 07/24/2019
Added support for grouping by WKT columns
Added support for character delimiters and specifying columns in a file or destination table when using insert from CSV functionality, e.g.,
INSERT INTO employee (first_name, last_name, date_of_birth)
SELECT fname, lname, dob
FROM FILE."/home/gpudb/data/emp_2017.csv"
DELIMITER=',';
Added support for converting various charN types to other types, e.g.,
char64
to date
All Paths
solver for querying all paths between two nodesQUERY_NODE_LABEL
QUERY_EDGE_LABEL
/get/records
options to the RecordRetriever
class for the
Java, Python, and C++ APIsPublish Date: 06/25/2019
ASOF
joinsDELETE
and UPDATE
events#
prefix, e.g.,
#table_name
ST_LINELOCATIONPOINT
ST_HEXGRID
ST_POINTGRID
ST_SQUAREGRID
ST_TRIANGLEGRID
LABEL
identifiersinit_with_now
column property to the Python APIPublish Date: 06/10/2019
ROOT
and KINETICA
to the
reserved words list to align with SQL
standard referencing of the database catalog and root schemaIPV4
type||
operatorQUERY_TARGET_NODE_LABEL
query identifier for simplified querying of graph
nodesInfinity
, -Infinity
, and NaN
values to null
for double
and
float
type columnsEXPLAIN
plan visualizationVAL_ATTR
parameter in a multi-layer mapPublish Date: 05/08/2019
RANGE
and NULLS FIRST
/LAST
in
window functionsNOT IN
within an UPDATE
/DELETE
queryST_ConcaveHull
geo functionST_DFullyWithin
ST_LongestLine
ST_MaxDistance
ST_Segmentize
(Euclidean)init_with_now
attribute in table configuration editorPublish Date: 04/17/2019
row.names
and bind & query parametersPublish Date: 03/08/2019