History log of /6.0.3/query-ui/ (Results 1 - 25 of 471)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
15a6461f02-Sep-2018 Murtadha Hubail <murtadha.hubail@couchbase.com>

MB-29728: Extract All Fields From Expressions

In case analytics operator's expressions contain more
than more field, we need to extract all of them to
display them in the plan analys

MB-29728: Extract All Fields From Expressions

In case analytics operator's expressions contain more
than more field, we need to extract all of them to
display them in the plan analysis.

Change-Id: Ibfaf275556f7371f1b7fee9b03f3acfb18da7d38
Reviewed-on: http://review.couchbase.org/99114
Well-Formed: Build Bot <build@couchbase.com>
Tested-by: Murtadha Hubail <Murtadha.hubail@couchbase.com>
Reviewed-by: Eben Haber <eben@couchbase.com>

show more ...

bdbfee6530-Aug-2018 Murtadha Hubail <murtadha.hubail@couchbase.com>

MB-29728: Adapt Plan Analysis to Analytics Mode

- Add Datasets in the plan analysis for analytics.
- Remove buckets from plan analysis for analytics.
- Use fully qualified name for d

MB-29728: Adapt Plan Analysis to Analytics Mode

- Add Datasets in the plan analysis for analytics.
- Remove buckets from plan analysis for analytics.
- Use fully qualified name for datasets/indexes.

Change-Id: I1e0d710a4adfb8c0a17138f24195884a4159e68e
Reviewed-on: http://review.couchbase.org/99002
Tested-by: Murtadha Hubail <Murtadha.hubail@couchbase.com>
Reviewed-by: Till Westmann <till@couchbase.com>
Reviewed-by: Eben Haber <eben@couchbase.com>
Well-Formed: Build Bot <build@couchbase.com>

show more ...

c84834a710-Aug-2018 Eben M Haber <eben@couchbase.com>

MB-30080 - performance issues in new doc editor

The new doc editor was slow when dealing with very complex documents
(many fields). This is caused by the browser spending time rendering

MB-30080 - performance issues in new doc editor

The new doc editor was slow when dealing with very complex documents
(many fields). This is caused by the browser spending time rendering
many many text-entry areas, one for each field. There's no general way
to speed that up (though Safari is about twice as fast as Chrome in
these situations), but I was able to help this two ways:

1) use ng-if instead of ng-show to prevent rendering of the
spreadsheet text-entry areas when the user selects "simple" mode. This
makes the simple mode effectively as fast as the classic doc editor.

2) there was already a limit on the maximum number of fields to show,
which was set at 500. This existed to prevent the browser from
grinding to a halt when facing thousands of fields. I reduced this
number to 250, which speeds up the "spreadsheet" mode somewhat. And if
the user really needs to edit more than 250 fields, they can use the
"edit as JSON" functionality.

Change-Id: Ief83b5018c3f39fbe7a269fb49dc6379ff7c9c8b
Reviewed-on: http://review.couchbase.org/98136
Well-Formed: Build Bot <build@couchbase.com>
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

ece2451708-Aug-2018 Eben M Haber <eben@couchbase.com>

MB-30692 - properly autocomplete tokens starting with `

Change-Id: I738b54ac07eaf89c56049fd06cc1d0101fc7bcc6
Reviewed-on: http://review.couchbase.org/98034
Well-Formed: Build Bot <bu

MB-30692 - properly autocomplete tokens starting with `

Change-Id: I738b54ac07eaf89c56049fd06cc1d0101fc7bcc6
Reviewed-on: http://review.couchbase.org/98034
Well-Formed: Build Bot <build@couchbase.com>
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

3dbe058f08-Aug-2018 Eben M Haber <eben@couchbase.com>

MB-30598 - Handling timeouts and other errors in the QWB

The query workbench was sending a timeout parameter to ns_server,
which proxies requests to cbq-engine, but cbq-engine also has a

MB-30598 - Handling timeouts and other errors in the QWB

The query workbench was sending a timeout parameter to ns_server,
which proxies requests to cbq-engine, but cbq-engine also has a
timeout parameter. Change the code to send the same timeout value to
both. This means that queries interrupted by the timeout are marked as
"timeout" instead of "completed", because cbq-engine times out instead
of the proxy gateway.

When cbq-engine times out, however, it is possible to have partial,
truncated results from the server. Thus I also had to improve the
notifications in the query workbench so that warnings and/or errors
are shown along with partial results, if any.

Change-Id: Icae57d6e1f387d7709c3dfcfe5d7ed871cb74a6c
Reviewed-on: http://review.couchbase.org/98027
Well-Formed: Build Bot <build@couchbase.com>
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

7721686c06-Aug-2018 Eben M Haber <eben@couchbase.com>

MB-30639 - better 'enter' handling in QWB preferences

The problem reported was that clicking 'enter' in *any* of the text
fields in the preferences dialog would cause a numbered paramete

MB-30639 - better 'enter' handling in QWB preferences

The problem reported was that clicking 'enter' in *any* of the text
fields in the preferences dialog would cause a numbered parameter to
be added. Apparently with angular, 'enter' in any text field in a form
causes the first button in the form to be clicked, even if a later
button is marked as 'type="submit"'. The solution is to somewhat
redundantly label each of the buttons as 'type="button"' (except for
the 'ok' button, which is type="submit").

Change-Id: I9f502370de4bdb14ee5c2f0676f8e10607567a9f
Reviewed-on: http://review.couchbase.org/97891
Well-Formed: Build Bot <build@couchbase.com>
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

55fd641b04-Aug-2018 Murtadha Hubail <murtadha.hubail@couchbase.com>

MB-30746: Show Query Timeout Option in Analytics

Change-Id: I03d7de461386cc28cea335f3e1d1d0a01ffac532
Reviewed-on: http://review.couchbase.org/97810
Reviewed-by: Eben Haber <eben@cou

MB-30746: Show Query Timeout Option in Analytics

Change-Id: I03d7de461386cc28cea335f3e1d1d0a01ffac532
Reviewed-on: http://review.couchbase.org/97810
Reviewed-by: Eben Haber <eben@couchbase.com>
Well-Formed: Build Bot <build@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

933f66d203-Aug-2018 Eben M Haber <eben@couchbase.com>

MB-30757 - display fix for INFER improvement

Now that INFER can show schemas for nested arrays, the schema display
needs to be able to show it as well.

Change-Id: I8c72e11b985ea

MB-30757 - display fix for INFER improvement

Now that INFER can show schemas for nested arrays, the schema display
needs to be able to show it as well.

Change-Id: I8c72e11b985ea9d44fa5d727873ce623c4db6d08
Reviewed-on: http://review.couchbase.org/97800
Well-Formed: Build Bot <build@couchbase.com>
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

e5ff249101-Aug-2018 Eben M Haber <eben@couchbase.com>

MB-30219 - Add support for CORRELATED keyword in client-side parser.

Change-Id: I72a204645ba1cfc4eb4463e6106609c9084559d9
Reviewed-on: http://review.couchbase.org/97682
Reviewed-by:

MB-30219 - Add support for CORRELATED keyword in client-side parser.

Change-Id: I72a204645ba1cfc4eb4463e6106609c9084559d9
Reviewed-on: http://review.couchbase.org/97682
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

67448c9526-Jul-2018 Eben M Haber <eben@couchbase.com>

MB-30559 - fix wrapping issue with nested docs in new doc editor.

Change-Id: I19dc39dd098d310e214beb0bcc6b8a53e1fa528c
Reviewed-on: http://review.couchbase.org/97466
Reviewed-by: Ebe

MB-30559 - fix wrapping issue with nested docs in new doc editor.

Change-Id: I19dc39dd098d310e214beb0bcc6b8a53e1fa528c
Reviewed-on: http://review.couchbase.org/97466
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

5da7f6fa26-Jul-2018 Eben M Haber <eben@couchbase.com>

MB-30668 - new document editor not showing data for certain data types.

The new doc editor was having trouble with field names containing
single quotes, and with arrays inside other arra

MB-30668 - new document editor not showing data for certain data types.

The new doc editor was having trouble with field names containing
single quotes, and with arrays inside other arrays.

Change-Id: Iac07928ed639ea3528f87476f8900499e48cced2
Reviewed-on: http://review.couchbase.org/97465
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

c638def826-Jul-2018 Eben M Haber <eben@couchbase.com>

MB-30669 - fix race condition for very fast queries and timings

The Query Workbench automatically runs 'explain' for every query, so
that a query plan can be shown while the query is run

MB-30669 - fix race condition for very fast queries and timings

The Query Workbench automatically runs 'explain' for every query, so
that a query plan can be shown while the query is running. If the user
has selected "Collect Query Timings", when the query completes, it is
replaced with the plan including query timings.

When running a very fast query, such as:

select * from `travel-sample` use keys ["airline_10748"];

Sometimes the 'explain' takes longer than the query itself, meaning
that the 'explain' plan overwrites the query timings plan.

This change fixes that race condition.

Change-Id: I8683d1d1f23ed54ac692ee0ec4e146255313e3c5
Reviewed-on: http://review.couchbase.org/97464
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

1fb12d9023-Jul-2018 Eben M Haber <eben@couchbase.com>

Merge remote-tracking branch 'couchbase/vulcan' into HEAD

Change-Id: I89b8264761e320938429f1b8828298eb72bd6df2


01aeac1e16-Jul-2018 Eben M Haber <eben@couchbase.com>

MB-30494 - remove extraneous nodes from Analytics plan viz.

Change-Id: I27db1960d88c7147fd0d1dd1f9ecf8a06503f633
Reviewed-on: http://review.couchbase.org/96964
Reviewed-by: Eben Habe

MB-30494 - remove extraneous nodes from Analytics plan viz.

Change-Id: I27db1960d88c7147fd0d1dd1f9ecf8a06503f633
Reviewed-on: http://review.couchbase.org/96964
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

bbfc8ac616-Jul-2018 Eben M Haber <eben@couchbase.com>

MB-30426 - Allow preferences dialog to be used by analytics as well.

Change-Id: Iace9fa1132f397a35746b4b31c09ef127bf0b91c
Reviewed-on: http://review.couchbase.org/96956
Reviewed-by:

MB-30426 - Allow preferences dialog to be used by analytics as well.

Change-Id: Iace9fa1132f397a35746b4b31c09ef127bf0b91c
Reviewed-on: http://review.couchbase.org/96956
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

edd8ef5903-Jul-2018 Eben M Haber <eben@couchbase.com>

MB-30232 - hide documents tab for users with only query select.

A user with only query select permissions is not able to retrieve
documents via the REST API, the server fails and an HTTP

MB-30232 - hide documents tab for users with only query select.

A user with only query select permissions is not able to retrieve
documents via the REST API, the server fails and an HTTP 500 error is
returned. This is because the user doesn't have permissions to read
the XATTRs, which are returned with the document via the REST API. See
also MB-30232.

This fix hides the "Documents" tab if the user does not have
permissions to read XATTRs.

Change-Id: Ice78069fd184fde3854d463bf36b62653e0c0ee6
Reviewed-on: http://review.couchbase.org/96459
Well-Formed: Build Bot <build@couchbase.com>
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

62ad245f02-Jul-2018 Eben M Haber <eben@couchbase.com>

MB-30338 - Handle arrays with null elements in the document editor.

Needed to add a check for null to avoid an NPE.


Change-Id: I5beb3bab04ab3dc65ff96004abc5f4af390e2fcf
Rev

MB-30338 - Handle arrays with null elements in the document editor.

Needed to add a check for null to avoid an NPE.


Change-Id: I5beb3bab04ab3dc65ff96004abc5f4af390e2fcf
Reviewed-on: http://review.couchbase.org/96414
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>
Well-Formed: Build Bot <build@couchbase.com>

show more ...

5abcf39027-Jun-2018 Eben M Haber <eben@couchbase.com>

MB-29356 - Display Analytics query plans as DAGs when needed.

Analytics query plans can effectively be DAGs. The JSON description is
actually a tree, but various plan nodes are repeated

MB-29356 - Display Analytics query plans as DAGs when needed.

Analytics query plans can effectively be DAGs. The JSON description is
actually a tree, but various plan nodes are repeated when they are on
multiple paths.

Unfortunately D3 does not support DAGs, only trees. I was able to
simulate a DAG, however, but forcing second and subsequent appearances
of multiply-occuring nodes to appear in the same location as the
original. This actually works in the cases I tried. I did have to add
some CSS logic to hide duplicate edges, however, because they were not
showing up correctly.

Change-Id: I9b0630f40d47d76ad5964b83a8c535842dbd9487
Reviewed-on: http://review.couchbase.org/96235
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

093b22d918-Jun-2018 Rob Ashcom <rob.ashcom@gmail.com>

MB-30174 revise query history dialog buttons

Change-Id: I639b2edea17e2e764a224f9b778aacab2a8d3efd
Reviewed-on: http://review.couchbase.org/95822
Reviewed-by: Eben Haber <eben@couchba

MB-30174 revise query history dialog buttons

Change-Id: I639b2edea17e2e764a224f9b778aacab2a8d3efd
Reviewed-on: http://review.couchbase.org/95822
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Rob Ashcom <rob.ashcom@gmail.com>
Well-Formed: Build Bot <build@couchbase.com>

show more ...

a1018e7115-Jun-2018 Rob Ashcom <rob.ashcom@gmail.com>

MB-30113 Improve msg when service is not available on node

- added warning message about links
- cleaned up some vertical spacing
- remove the bulleted list style from the links

MB-30113 Improve msg when service is not available on node

- added warning message about links
- cleaned up some vertical spacing
- remove the bulleted list style from the links

Change-Id: I3f8639b080bf96617711dd621e1fb408a4c56cfe
Reviewed-on: http://review.couchbase.org/95657
Well-Formed: Build Bot <build@couchbase.com>
Tested-by: Rob Ashcom <rob.ashcom@gmail.com>
Reviewed-by: Dave Finlay <dave.finlay@couchbase.com>

show more ...

1a84381801-Jun-2018 Eben M Haber <eben@couchbase.com>

Fix issue with nested tables in new Doc Editor spreadsheet mode.

The new doc editor was not correctly handling nested tables involving
an array of objects, each with only one field which

Fix issue with nested tables in new Doc Editor spreadsheet mode.

The new doc editor was not correctly handling nested tables involving
an array of objects, each with only one field which is a nested
sub-object. The path to the subfields were lacking the name of the
single field.

Change-Id: I51fa31fa106cf35570632ec8886c7411d7b50418
Reviewed-on: http://review.couchbase.org/95068
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

19df69f129-May-2018 Eben M Haber <eben@couchbase.com>

MB-29824 - permissions issue with new doc editor

Missed one case - need to show "ADD DOCUMENT" button when users has
cluster.bucket[].data.docs.upsert permissions.

Change-Id: Ie

MB-29824 - permissions issue with new doc editor

Missed one case - need to show "ADD DOCUMENT" button when users has
cluster.bucket[].data.docs.upsert permissions.

Change-Id: Iec98d4fd0235d16e2210ff6ceba6f45caacc5693
Reviewed-on: http://review.couchbase.org/94869
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

d9253ab026-May-2018 Eben M Haber <eben@couchbase.com>

MB-29824 - permissions issue with new doc editor.

The doc editor was checking for:

cluster.bucket[<bucket name>].data!read and
cluster.bucket[<bucket name>].data!write

MB-29824 - permissions issue with new doc editor.

The doc editor was checking for:

cluster.bucket[<bucket name>].data!read and
cluster.bucket[<bucket name>].data!write

when in fact it really needed to be checking for:

cluster.bucket[<bucket name>].data.docs!read and
cluster.bucket[<bucket name>].data.docs!upsert

In fact, none of the server code uses the !write permissions. So the
UI now just checks for docs!read for read permissions, and docs!upsert
for write permissions.

Change-Id: I010eb6cbdac7e95f6972e38c007bb1c138c50851
Reviewed-on: http://review.couchbase.org/94796
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

d7eb772c23-May-2018 Eben M Haber <eben@couchbase.com>

MB-29748 - Show count queries per minute, not average.

In the query monitoring page, in the stats panel at the bottom, the
indicators for "queries > xxx ms" were showing the *average* of

MB-29748 - Show count queries per minute, not average.

In the query monitoring page, in the stats panel at the bottom, the
indicators for "queries > xxx ms" were showing the *average* of the
per-second values for the past minute. That isn't terribly
useful. Instead we are now showing the *sum* for the past minute, so
the user can see exactly how many long-running queries have been going
on recently.

Change-Id: Ib190279d2092de9262af7ca0e7871683f8f2b17d
Reviewed-on: http://review.couchbase.org/94607
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

81e407db22-May-2018 Eben M Haber <eben@couchbase.com>

Tweak the code that checks for multiple queries, ignore comments.

There was a request to ignore comments so that a user could have paste
multiple N1QL queries into the workbench, and unc

Tweak the code that checks for multiple queries, ignore comments.

There was a request to ignore comments so that a user could have paste
multiple N1QL queries into the workbench, and uncomment them
one-at-a-time. This change strips out the comments before looking for
multiple queries.

Change-Id: I82124d12f041837279a9f3ba6c22181de753b3c3
Reviewed-on: http://review.couchbase.org/94535
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

12345678910>>...19