Type:
Task
Priority:
Major
Resolution:
Unresolved
Component/s:
None
Not only binary data in tab-separated files look bad in any editor,
it is hardly editable, and this is hard to parse it for the LOAD DATA itself
One possible idea is to add escaping to the field, e.g \X for hex and \B for base64, this makes output tab-separated file more self-describing.
Or, SELECT INTO OUTFILE could rely on result set metadata like command-line client or mariadb-dump does, and LOAD DATA INFILE with hexblob option can rely on DDL info to unhex the field
Otherwise, it should be possibly to explicitly provide field names of hex/base64 encoded fields (although, not quite as user-friendly)
MySQL Shell dump-utilities do that (base64), and store the base64-ed fields in the metadata file, but it would be better to have it implemented in server itself.
There are no comments yet on this issue.
{"report":{"fcp":765.8999999761581,"ttfb":213.60000002384186,"pageVisibility":"visible","entityId":130662,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"24ed3c7c-5c13-453a-a8c3-c59b072d30eb","navigationType":0,"readyForUser":819.7000000476837,"redirectCount":0,"resourceLoadedEnd":773.6000000238419,"resourceLoadedStart":218.5,"resourceTiming":[{"duration":21.600000023841858,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":218.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":218.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":240.10000002384186,"responseStart":0,"secureConnectionStart":0},{"duration":39.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":218.80000007152557,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":218.80000007152557,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":258.3000000715256,"responseStart":0,"secureConnectionStart":0},{"duration":99.60000002384186,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":218.89999997615814,"connectEnd":218.89999997615814,"connectStart":218.89999997615814,"domainLookupEnd":218.89999997615814,"domainLookupStart":218.89999997615814,"fetchStart":218.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":262.39999997615814,"responseEnd":318.5,"responseStart":289.39999997615814,"secureConnectionStart":218.89999997615814},{"duration":118.29999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":219.20000004768372,"connectEnd":219.20000004768372,"connectStart":219.20000004768372,"domainLookupEnd":219.20000004768372,"domainLookupStart":219.20000004768372,"fetchStart":219.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":262.5,"responseEnd":337.5,"responseStart":285.8000000715256,"secureConnectionStart":219.20000004768372},{"duration":64.70000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":219.39999997615814,"connectEnd":219.39999997615814,"connectStart":219.39999997615814,"domainLookupEnd":219.39999997615814,"domainLookupStart":219.39999997615814,"fetchStart":219.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":263.3000000715256,"responseEnd":284.10000002384186,"responseStart":283.5,"secureConnectionStart":219.39999997615814},{"duration":67.60000002384186,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":219.5,"connectEnd":219.5,"connectStart":219.5,"domainLookupEnd":219.5,"domainLookupStart":219.5,"fetchStart":219.5,"redirectEnd":0,"redirectStart":0,"requestStart":264.60000002384186,"responseEnd":287.10000002384186,"responseStart":286.60000002384186,"secureConnectionStart":219.5},{"duration":72.89999997615814,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":219.60000002384186,"connectEnd":219.60000002384186,"connectStart":219.60000002384186,"domainLookupEnd":219.60000002384186,"domainLookupStart":219.60000002384186,"fetchStart":219.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":265.3000000715256,"responseEnd":292.5,"responseStart":292,"secureConnectionStart":219.60000002384186},{"duration":45.10000002384186,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":219.89999997615814,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":219.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":265,"responseStart":0,"secureConnectionStart":0},{"duration":71.89999997615814,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":220,"connectEnd":220,"connectStart":220,"domainLookupEnd":220,"domainLookupStart":220,"fetchStart":220,"redirectEnd":0,"redirectStart":0,"requestStart":270.10000002384186,"responseEnd":291.89999997615814,"responseStart":291.2000000476837,"secureConnectionStart":220},{"duration":46.39999997615814,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":220.10000002384186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":220.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":266.5,"responseStart":0,"secureConnectionStart":0},{"duration":77.29999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":220.30000007152557,"connectEnd":220.30000007152557,"connectStart":220.30000007152557,"domainLookupEnd":220.30000007152557,"domainLookupStart":220.30000007152557,"fetchStart":220.30000007152557,"redirectEnd":0,"redirectStart":0,"requestStart":272.8000000715256,"responseEnd":297.60000002384186,"responseStart":296.8000000715256,"secureConnectionStart":220.30000007152557},{"duration":539.7000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":230.10000002384186,"connectEnd":230.10000002384186,"connectStart":230.10000002384186,"domainLookupEnd":230.10000002384186,"domainLookupStart":230.10000002384186,"fetchStart":230.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":747.5,"responseEnd":769.8000000715256,"responseStart":769,"secureConnectionStart":230.10000002384186},{"duration":543.3999999761581,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":230.20000004768372,"connectEnd":230.20000004768372,"connectStart":230.20000004768372,"domainLookupEnd":230.20000004768372,"domainLookupStart":230.20000004768372,"fetchStart":230.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":748.3000000715256,"responseEnd":773.6000000238419,"responseStart":773,"secureConnectionStart":230.20000004768372},{"duration":199.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":517.2000000476837,"connectEnd":517.2000000476837,"connectStart":517.2000000476837,"domainLookupEnd":517.2000000476837,"domainLookupStart":517.2000000476837,"fetchStart":517.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":678.7000000476837,"responseEnd":716.7000000476837,"responseStart":716.2000000476837,"secureConnectionStart":517.2000000476837}],"fetchStart":0,"domainLookupStart":40,"domainLookupEnd":59,"connectStart":59,"connectEnd":78,"secureConnectionStart":67,"requestStart":78,"responseStart":213,"responseEnd":237,"domLoading":217,"domInteractive":870,"domContentLoadedEventStart":870,"domContentLoadedEventEnd":909,"domComplete":1303,"loadEventStart":1303,"loadEventEnd":1303,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":855.1000000238419},{"name":"bigPipe.sidebar-id.end","time":855.8000000715256},{"name":"bigPipe.activity-panel-pipe-id.start","time":856},{"name":"bigPipe.activity-panel-pipe-id.end","time":856.5},{"name":"activityTabFullyLoaded","time":918.5}],"measures":[],"correlationId":"926616f2ef6ba2","effectiveType":"4g","downlink":9.4,"rtt":0,"serverDuration":82,"dbReadsTimeInMs":10,"dbConnsTimeInMs":19,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}