|
|
@@ -364,7 +364,7 @@ except ImportError, e:
|
|
|
${ _('In HDFS (max %s cells)') % DOWNLOAD_CELL_LIMIT.get() }
|
|
|
</label>
|
|
|
<div data-bind="visible: saveTarget() == 'hdfs-file'" class="inline">
|
|
|
- <input data-bind="value: savePath, filechooser: { value: savePath, isNestedModal: true }, filechooserOptions: { uploadFile: false }, hdfsAutocomplete: savePath" type="text" name="target_file" placeholder="${_('Path to CSV file')}" class="pathChooser margin-left-10">
|
|
|
+ <input data-bind="value: savePath, filechooser: { value: savePath, isNestedModal: true }, filechooserOptions: { uploadFile: false, skipInitialPathIfEmpty: true }, hdfsAutocomplete: savePath" type="text" name="target_file" placeholder="${_('Path to CSV file')}" class="pathChooser margin-left-10">
|
|
|
</div>
|
|
|
<label class="radio" data-bind="visible: saveTarget() == 'hdfs-file'">
|
|
|
<input data-bind="checked: saveOverwrite" type="checkbox" name="overwrite">
|
|
|
@@ -379,7 +379,7 @@ except ImportError, e:
|
|
|
${ _('In HDFS (large file)') }
|
|
|
</label>
|
|
|
<div data-bind="visible: saveTarget() == 'hdfs-directory'" class="inline">
|
|
|
- <input data-bind="value: savePath, filechooser: { value: savePath, isNestedModal: true }, filechooserOptions: { uploadFile: false }, hdfsAutocomplete: savePath" type="text" name="target_dir" placeholder="${_('Path to directory')}" class="pathChooser margin-left-10">
|
|
|
+ <input data-bind="value: savePath, filechooser: { value: savePath, isNestedModal: true }, filechooserOptions: { uploadFile: false, skipInitialPathIfEmpty: true }, hdfsAutocomplete: savePath" type="text" name="target_dir" placeholder="${_('Path to directory')}" class="pathChooser margin-left-10">
|
|
|
<i class="fa fa-question-circle muted" title="${ _("Use this option if you have a large result. It will rerun the entire query and save the results to the chosen HDFS directory.") }"></i>
|
|
|
</div>
|
|
|
</div>
|