Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Mar2018]: mclient -f tab / --format=tab complains about "unsupported formatter" #6534

Closed
monetdb-team opened this issue Nov 30, 2020 · 0 comments
Labels
bug Something isn't working Client interfaces major

Comments

@monetdb-team
Copy link

Date: 2018-02-08 07:16:36 +0100
From: @drstmane
To: clients devs <>
Version: 11.27.11 (Jul2017-SP3)

Last updated: 2018-03-29 15:39:25 +0200

Comment 26168

Date: 2018-02-08 07:16:36 +0100
From: @drstmane

$ for i in tab sql expanded x csv raw xml trash tab ; do echo -e "\n\t$i\n" ; mclient -d$DB -s'select 1,2;' -f $i ; echo ; done

tab

unsupported formatter
% .L2, .L4 table_name
% L2, L4 name
% tinyint, tinyint type
% 1, 1 length
[ 1, 2 ]
clk: 0.822 ms

sql

+------+------+
| L2 | L4 |
+======+======+
| 1 | 2 |
+------+------+
1 tuple
clk: 0.830 ms

expanded

-[ RECORD 1 ]-
L2 | 1
L4 | 2
clk: 0.811 ms

x

-[ RECORD 1 ]-
L2 | 1
L4 | 2
clk: 0.796 ms

csv

1,2
clk: 0.824 ms

raw

% .L2, .L4 table_name
% L2, L4 name
% tinyint, tinyint type
% 1, 1 length
[ 1, 2 ]
clk: 0.782 ms

xml
]> 12
clk: 0.979 ms
trash

clk: 0.932 ms

tab

unsupported formatter
% .L2, .L4 table_name
% L2, L4 name
% tinyint, tinyint type
% 1, 1 length
[ 1, 2 ]
clk: 0.836 ms

Comment 26175

Date: 2018-02-08 09:27:33 +0100
From: MonetDB Mercurial Repository <>

Changeset bcc430e78d4c made by Stefan Manegold Stefan.Manegold@cwi.nl in the MonetDB repo, refers to this bug.

For complete details, see https//devmonetdborg/hg/MonetDB?cmd=changeset;node=bcc430e78d4c

Changeset description:

revert undocumented change of changeset [770e047b548c](https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=770e047b548c)  "tab" -> "tsv" -> "tab"

changeset [770e047b548c](https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=770e047b548c)  changed the name of mclient's tabular / tab-separated
output formatter from "tab" to "tsv" without either documenting this
change in the checkin message or updating any related documentation
(--help messages, manpage) accordingly.

To fix bug #6534, I herewith revert that change, i.e., mclient's
tabular / tab-seperated output formatter is now again called "tab"
as it used to be and as all documentation still claims.

(If you prefer "tsv" over "tab" after all, please feel free to change that
 correctly and consistently in all code, documentation and test output.)

Comment 26176

Date: 2018-02-08 09:29:04 +0100
From: @drstmane

fixed by reverting undocumented (and incomplete) change of changeset 770e047b548c

Comment 26326

Date: 2018-03-29 15:39:25 +0200
From: @sjoerdmullender

The Mar2018 version has been released.

@monetdb-team monetdb-team added bug Something isn't working Client interfaces major labels Nov 30, 2020
@sjoerdmullender sjoerdmullender added this to the Ancient Release milestone Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Client interfaces major
Projects
None yet
Development

No branches or pull requests

2 participants