History log of /6.6.0/query-ui/query-ui/ui-current/import.html (Results 1 - 5 of 5)
Revision Date Author Comments
# b15004b2 16-Jun-2020 Eben M Haber <eben@couchbase.com>

MB-39903 - numbers imported as strings in CSV, TSV
MB-39911 - crash when specify improper field for doc ID
MB-39910 - incomplete cbimport command
MB-39899 - can't import arbitrary JSON fi

MB-39903 - numbers imported as strings in CSV, TSV
MB-39911 - crash when specify improper field for doc ID
MB-39910 - incomplete cbimport command
MB-39899 - can't import arbitrary JSON file
MB-39905 - docs with duplicate Doc IDs will overwrite other docs
MB-39912 - show error when there is no query service

MB-39903 - the D3 libary used for parsing CSV & TSV treats numbers as
strings unless a flag is passed asking it to import numbers when
possible. This change includes that flag.

MB-39911 - the UI was showing incorrect fields for use as DocID, and
if the user selected such a field the import would fail. The fix
prevents showing fields that are not present in every document.

MB-39910 - two options were missing from the generated cbimport
command, one due to a typo, the other due to an omission.

MB-39899 - cbimport only supports two subsets of JSON: a list of
documents, and a text file with one JSON document per line. This bug
reports that arbitrary JSON files can't be imported. This is not a
surprise. The fix is to change the wording and add a tooltip to help
inform the user that arbitrary JSON is not supported.

MB-39905 - this bug reports that importing documents with the same Doc
ID as existing documents causes the existing documents to be
overwritten. This is expected behavior to those familiar with
Couchbase, so the fix is to add a tooltip explaining the meaning of
document IDs.

MB-39912 - the import UI relies on the query service to work. This fix
shows an error message when there is no query service in the
cluster. The user can still specify an import, and get the generated
'cbimport' command, but they can't click the 'import' button.

Change-Id: I33c1196a9beb8c84abe591fc966cb0acbea3001e
Reviewed-on: http://review.couchbase.org/c/query-ui/+/130666
Well-Formed: Build Bot <build@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>
Reviewed-by: Eben Haber <eben@couchbase.com>

show more ...


# e402d7db 04-Jun-2020 Eben M Haber <eben@couchbase.com>

MB-38333 - final tweaks to new Import UI

There were some spacing problems with the data display, and sometimes
the "loading file..." message wouldn't go away under certain error
cond

MB-38333 - final tweaks to new Import UI

There were some spacing problems with the data display, and sometimes
the "loading file..." message wouldn't go away under certain error
conditions.

Change-Id: I983d83457497da02b015cf25b62e0e6e2a2966ff
Reviewed-on: http://review.couchbase.org/c/query-ui/+/129866
Well-Formed: Build Bot <build@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>
Reviewed-by: Eben Haber <eben@couchbase.com>

show more ...


# 957c29d5 03-Jun-2020 Eben M Haber <eben@couchbase.com>

MB-38333 - New import UI

Improve the wording of on-screen text, and make the data view selected
via pills.

Change-Id: I171dfc34cf4c84006a007df664a396e4c0eb0fb3
Reviewed-on:

MB-38333 - New import UI

Improve the wording of on-screen text, and make the data view selected
via pills.

Change-Id: I171dfc34cf4c84006a007df664a396e4c0eb0fb3
Reviewed-on: http://review.couchbase.org/c/query-ui/+/129765
Well-Formed: Build Bot <build@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>
Reviewed-by: Eben Haber <eben@couchbase.com>

show more ...


# 279b3f5f 29-May-2020 Eben M Haber <eben@couchbase.com>

MB-38333 - Add Rob's latest change to the IMPORT GUI.

Change-Id: I6413239f0a1e10b6081bfa0a6173dfa50089cdd8
Reviewed-on: http://review.couchbase.org/c/query-ui/+/129412
Well-Formed: B

MB-38333 - Add Rob's latest change to the IMPORT GUI.

Change-Id: I6413239f0a1e10b6081bfa0a6173dfa50089cdd8
Reviewed-on: http://review.couchbase.org/c/query-ui/+/129412
Well-Formed: Build Bot <build@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>
Reviewed-by: Eben Haber <eben@couchbase.com>

show more ...


# 7ea111e6 21-Apr-2020 Eben M Haber <eben@couchbase.com>

MB-38333 - Web-based data import, found in the Documents tab.

This is the initial check-in of the code for the web-based data import
feature. While about 10x slower than cbimport, it is

MB-38333 - Web-based data import, found in the Documents tab.

This is the initial check-in of the code for the web-based data import
feature. While about 10x slower than cbimport, it is aimed at new
users who are playing around with Couchbase, and those with small data
sets.

This provides a nice usability advantage over cbimport, since it
automatically detects the file type, allows selection of key fields
from a menu, and allows the user to avoid the complex syntax of
cbimport. It does not support keys comprised of multiple fields,
however. In those cases there is always cbimport.

Import works by: 1) loading a data file into memory in the browser, 2)
guessing the data format using a regular expression, 3) parsing the
data, 4) uploading the data by creating a series of N1QL batch INSERT
commands (keeping them less than 5MB to avoid any issues with proxying
on ns_server).

Import is limited to files of 100MB or smaller, because the browser
gets really slow with files that size. A future improvement could be
to read the data file in chunks, but that significantly increases the
complexity of parsing the data, and at that point why not use
cbimport.

Change-Id: I665c4816d174fa4469883fc0e4b9cb50351bb930
Reviewed-on: http://review.couchbase.org/c/query-ui/+/126356
Well-Formed: Build Bot <build@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>
Reviewed-by: Eben Haber <eben@couchbase.com>

show more ...