Mapper query generation error: USING clause is misplaced
NODEJS-538
Fail fast if the prepared id doesn't match when we reprepare on the fly
NODEJS-536
Use util.inspect.custom in public API
NODEJS-535
Change rewire dev dependency with sinon.js
NODEJS-534
Modernize codebase to ES2015+
NODEJS-531
Test: Stabilize Metadata getTrace() tests
NODEJS-530
Tuple constructor incorrectly handles single element values
NODEJS-529
Mapper: Log query generated and object selection
NODEJS-528
Mapper: select query cache key uses order by portion incorrectly
NODEJS-527
"RangeError: Index out of range" when fetching tuples
NODEJS-524
Fix timeout tests with DSE Graph
NODEJS-522
Introduce test categories/tags and run them in parallel at CI level
NODEJS-520
Include Mapper in Getting Started guide and home readme
NODEJS-517
Drop support for Node.js 4 runtime
NODEJS-516
Mapper: support static column updates with only the partition key
NODEJS-515
Support string input for all numeric types
NODEJS-514
Endurance tests: Track CPU and memory usage metrics on dashboard
NODEJS-513
Support empty strings as column names
NODEJS-507
Allow providing and overriding nowInSeconds via native protocol v5
NODEJS-488
Test: Replace ControlConnection integration tests with Client level tests
NODEJS-483
CI: Generate API docs as part of the build process
NODEJS-481
Mapper: Support for paging large result sets
NODEJS-480
Speculative execution responses received after the execution completed are not exposed in the RequestTracker / ClientMetrics
NODEJS-479
Mapper: Allow specifying the default execution profile for a model
NODEJS-467
Mapper: Support case sensitive CQL identifiers
NODEJS-466
Include TypeScript definition files on the package
NODEJS-464
Use a token replica cache based on replication strategy options
NODEJS-461
Support string parameter for execution profiles
NODEJS-451
Support reconnection when initializing
NODEJS-446
Add Compression Support
NODEJS-439
Batch documentation should mention counter and unlogged batch options
NODEJS-435
Use prepared statement result_metadata for execute row responses
NODEJS-433
Consider adapting error message when graph name was not specified
NODEJS-424
BigDecimal: Support negative scale and support exponential notation
NODEJS-421
Consider using ES2015 Set for token to replica mappers
NODEJS-420
Analyze impact of KTPI on the driver performance
NODEJS-416
Add DSE configurations to jenkins nightly build
NODEJS-414
When trying to retrieve more than 14 columns using select (cassadra-driver) It is throwing the following error
NODEJS-411
Use promises internally
NODEJS-410
Remove support for Apache Cassandra 1.2
NODEJS-399
Use a sync way to iterate through the query plan and borrow connections
NODEJS-389
Allow sending keyspace for QUERY and PREPARE requests
NODEJS-383
Support protocol v5
NODEJS-381
Implement HostFilterPolicy
NODEJS-380
ClusterWidePercentileTracker
NODEJS-367
TLS: Enable certificate verification and hostname validation by default
NODEJS-354
Implement asCQLQuery method on all metadata types
NODEJS-341
Send keyspace in QUERY, PREPARE, and BATCH messages in v5
NODEJS-323
Run at least smoke tests for all major C* versions on appveyor
NODEJS-304
Broken links in documentor-generated docs in DSE driver
NODEJS-299
issue 1 of 67

Mapper query generation error: USING clause is misplaced

Description

via DataStax community (thanks Emile S.!).

the USING TTL clause on UPDATE/INSERT query should be placed at the beginning of the query

as in:

1 UPDATE users USING TTL 10 SET favs['color'] = 'green' WHERE id = 'jsmith'

The Node.js mapper places the USING clause at the end: https://github.com/datastax/nodejs-driver/blob/v4.1.0/lib/mapping/query-generator.js#L113

Environment

None

Pull Requests

None

Status

Assignee

Unassigned

Reporter

Jorge Bay Gondra

Reviewer

None

Fix versions

None

Labels

None

Components

PM Priority

None

Reproduced in

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

Doc Impact

None

Size

None

Affects versions

4.1.0
DSE-2.1.0

Priority

Major