Skip to content

Commit

Permalink
Release 20.1.0
Browse files Browse the repository at this point in the history
Release notes are available at: https://docs.dremio.com/release-notes/

Change-Id: I0a2783d63f1a4c28f8c0943699e5feb29da563f8
  • Loading branch information
ryantse committed Feb 6, 2022
1 parent c196862 commit 31bc9b7
Show file tree
Hide file tree
Showing 120 changed files with 374 additions and 187 deletions.
2 changes: 1 addition & 1 deletion client/base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>com.dremio.client</groupId>
<artifactId>dremio-client-parent</artifactId>
<version>20.0.0-202201050826310141-8cc7162b</version>
<version>20.1.0-202202061055110045-36733c65</version>
</parent>

<artifactId>dremio-client-base</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion client/jdbc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>com.dremio.client</groupId>
<artifactId>dremio-client-parent</artifactId>
<version>20.0.0-202201050826310141-8cc7162b</version>
<version>20.1.0-202202061055110045-36733c65</version>
</parent>
<artifactId>dremio-client-jdbc</artifactId>
<name>Client - JDBC Driver</name>
Expand Down
2 changes: 1 addition & 1 deletion client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>com.dremio</groupId>
<artifactId>dremio-parent</artifactId>
<version>20.0.0-202201050826310141-8cc7162b</version>
<version>20.1.0-202202061055110045-36733c65</version>
</parent>

<groupId>com.dremio.client</groupId>
Expand Down
2 changes: 1 addition & 1 deletion common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>com.dremio</groupId>
<artifactId>dremio-parent</artifactId>
<version>20.0.0-202201050826310141-8cc7162b</version>
<version>20.1.0-202202061055110045-36733c65</version>
</parent>

<artifactId>dremio-common</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion connector/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>com.dremio</groupId>
<artifactId>dremio-parent</artifactId>
<version>20.0.0-202201050826310141-8cc7162b</version>
<version>20.1.0-202202061055110045-36733c65</version>
</parent>

<artifactId>dremio-connector</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion contrib/hive2-exec-shade/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>com.dremio.contrib</groupId>
<artifactId>dremio-contrib-parent</artifactId>
<version>20.0.0-202201050826310141-8cc7162b</version>
<version>20.1.0-202202061055110045-36733c65</version>
</parent>

<artifactId>dremio-hive2-exec-shaded</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion contrib/hive3-exec-shade/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>com.dremio.contrib</groupId>
<artifactId>dremio-contrib-parent</artifactId>
<version>20.0.0-202201050826310141-8cc7162b</version>
<version>20.1.0-202202061055110045-36733c65</version>
</parent>

<artifactId>dremio-hive3-exec-shaded</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion contrib/maprfs-shade/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>com.dremio.contrib</groupId>
<artifactId>dremio-contrib-parent</artifactId>
<version>20.0.0-202201050826310141-8cc7162b</version>
<version>20.1.0-202202061055110045-36733c65</version>
</parent>

<artifactId>dremio-maprfs-shaded</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion contrib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>com.dremio</groupId>
<artifactId>dremio-parent</artifactId>
<version>20.0.0-202201050826310141-8cc7162b</version>
<version>20.1.0-202202061055110045-36733c65</version>
</parent>

<groupId>com.dremio.contrib</groupId>
Expand Down
2 changes: 1 addition & 1 deletion dac/backend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>com.dremio</groupId>
<artifactId>dremio-dac-parent</artifactId>
<version>20.0.0-202201050826310141-8cc7162b</version>
<version>20.1.0-202202061055110045-36733c65</version>
</parent>

<artifactId>dremio-dac-backend</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,21 @@ public class SessionPermissions {
private final boolean canDownloadProfiles;
private final boolean canEmailForSupport;
private final boolean canChatForSupport;
private final boolean canViewAllJobs;

@JsonCreator
public SessionPermissions(
@JsonProperty("canUploadProfiles") boolean canUploadProfiles,
@JsonProperty("canDownloadProfiles") boolean canDownloadProfiles,
@JsonProperty("canEmailForSupport") boolean canEmailForSupport,
@JsonProperty("canChatForSupport") boolean canChatForSupport) {
@JsonProperty("canChatForSupport") boolean canChatForSupport,
@JsonProperty("canViewAllJobs") boolean canViewAllJobs) {
super();
this.canUploadProfiles = canUploadProfiles;
this.canDownloadProfiles = canDownloadProfiles;
this.canEmailForSupport = canEmailForSupport;
this.canChatForSupport = canChatForSupport;
this.canViewAllJobs = canViewAllJobs;
}

public boolean isCanUploadProfiles() {
Expand All @@ -53,6 +56,7 @@ public boolean isCanEmailForSupport() {
public boolean isCanChatForSupport() {
return canChatForSupport;
}


public boolean isCanViewAllJobs() {
return canViewAllJobs;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ public Response login(UserLogin userLogin, @Context HttpServletRequest request)
projectOptionManager.getOption(SupportService.USERS_UPLOAD),
projectOptionManager.getOption(SupportService.USERS_DOWNLOAD),
projectOptionManager.getOption(SupportService.USERS_EMAIL),
projectOptionManager.getOption(SupportService.USERS_CHAT)
projectOptionManager.getOption(SupportService.USERS_CHAT),
true
);

return Response.ok(
Expand Down
2 changes: 1 addition & 1 deletion dac/common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>com.dremio</groupId>
<artifactId>dremio-dac-parent</artifactId>
<version>20.0.0-202201050826310141-8cc7162b</version>
<version>20.1.0-202202061055110045-36733c65</version>
</parent>

<artifactId>dremio-dac-common</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion dac/daemon/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>com.dremio</groupId>
<artifactId>dremio-dac-parent</artifactId>
<version>20.0.0-202201050826310141-8cc7162b</version>
<version>20.1.0-202202061055110045-36733c65</version>
</parent>

<artifactId>dremio-dac-daemon</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion dac/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>com.dremio</groupId>
<artifactId>dremio-parent</artifactId>
<version>20.0.0-202201050826310141-8cc7162b</version>
<version>20.1.0-202202061055110045-36733c65</version>
</parent>

<artifactId>dremio-dac-parent</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion dac/ui-lib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>com.dremio</groupId>
<artifactId>dremio-dac-parent</artifactId>
<version>20.0.0-202201050826310141-8cc7162b</version>
<version>20.1.0-202202061055110045-36733c65</version>
</parent>

<artifactId>dremio-ui-lib</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion dac/ui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>com.dremio</groupId>
<artifactId>dremio-dac-parent</artifactId>
<version>20.0.0-202201050826310141-8cc7162b</version>
<version>20.1.0-202202061055110045-36733c65</version>
</parent>

<artifactId>dremio-dac-ui</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,14 @@ describe('JobsFilters', () => {

describe('#getAllFilters', () => {
it('should return false for User Filter if user is non-admin', () => {
const wrapper = shallow(<JobsFilters {...commonProps} />, { context: { loggedInUser: { admin: true } } });
const wrapper = shallow(<JobsFilters {...commonProps} />, {
context: {
loggedInUser: {
admin: true,
permissions: { canViewAllJobs: false }
}
}
});
const instance = wrapper.instance();
expect(instance.getAllFilters().filter(filter => filter.value === 'usr')).to.have.length(1);

Expand Down
15 changes: 12 additions & 3 deletions dac/ui/src/pages/JobPage/components/JobsFilters/JobsFilters.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,22 @@ export default class JobsFilters extends Component {

componentWillMount() {
this.props.loadItemsForFilter('spaces');
if (this.context.loggedInUser.admin) {
const {
admin: isAdmin,
permissions: { canViewAllJobs } = {}
} = this.context.loggedInUser;
if (isAdmin || canViewAllJobs) {
this.props.loadItemsForFilter('users');
}
this.prepareQueuesFilter();
}

getAllFilters() {
const { queryState, intl, isQVJobs } = this.props;
const { loggedInUser } = this.context;
const {
admin: isAdmin,
permissions: { canViewAllJobs } = {}
} = this.context.loggedInUser;
const startTime = queryState.getIn(['filters', 'st', 0]) || 0;
const endTime = queryState.getIn(['filters', 'st', 1]) || 0;
const selectedJst = queryState.getIn(['filters', 'jst']);
Expand Down Expand Up @@ -193,7 +200,9 @@ export default class JobsFilters extends Component {
/>
)
}
].filter(filter => filter.value !== 'usr' && !loggedInUser.admin || loggedInUser.admin);
].filter(
(filter) => (filter.value !== 'usr' && !isAdmin) || isAdmin || canViewAllJobs
);
}

handleStartTimeChange(type, rangeObj) {
Expand Down
2 changes: 1 addition & 1 deletion distribution/jdbc-driver/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>com.dremio.distribution</groupId>
<artifactId>dremio-distribution-parent</artifactId>
<version>20.0.0-202201050826310141-8cc7162b</version>
<version>20.1.0-202202061055110045-36733c65</version>
</parent>

<artifactId>dremio-jdbc-driver</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion distribution/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>com.dremio</groupId>
<artifactId>dremio-parent</artifactId>
<version>20.0.0-202201050826310141-8cc7162b</version>
<version>20.1.0-202202061055110045-36733c65</version>
</parent>

<groupId>com.dremio.distribution</groupId>
Expand Down
2 changes: 1 addition & 1 deletion distribution/resources/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>com.dremio.distribution</groupId>
<artifactId>dremio-distribution-parent</artifactId>
<version>20.0.0-202201050826310141-8cc7162b</version>
<version>20.1.0-202202061055110045-36733c65</version>
</parent>

<artifactId>dremio-distribution-resources</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -285,12 +285,12 @@
|domelementtype |1.3.0 |BSD-2-Clause |
|domhandler |2.4.2 |BSD-2-Clause |
|domutils |1.5.1 |BSD-2-Clause |
|Dremio Cache Manager |20.0.0 |Dremio Free Software License 1.0|
|Dremio Fast Threads |20.0.0 |Dremio Free Software License 1.0|
|Dremio Joust Library |20.0.0 |Dremio Free Software License 1.0|
|Dremio Parquet Accelerator |20.0.0 |Dremio Free Software License 1.0|
|Dremio Pushdown Pack |20.0.0 |Dremio Free Software License 1.0|
|Dremio Smart Substitutions |20.0.0 |Dremio Free Software License 1.0|
|Dremio Cache Manager |20.1.0 |Dremio Free Software License 1.0|
|Dremio Fast Threads |20.1.0 |Dremio Free Software License 1.0|
|Dremio Joust Library |20.1.0 |Dremio Free Software License 1.0|
|Dremio Parquet Accelerator |20.1.0 |Dremio Free Software License 1.0|
|Dremio Pushdown Pack |20.1.0 |Dremio Free Software License 1.0|
|Dremio Smart Substitutions |20.1.0 |Dremio Free Software License 1.0|
|dremio-ui-lib |1.0.0 |Unlicense |
|easy-peasy |4.0.1 |MIT |
|EclipseLink |2.5.2 |Eclipse Public License 1.0 & Eclipse Distribution License v. 1.0|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -241,12 +241,12 @@
|domelementtype |1.3.0 |BSD-2-Clause |
|domhandler |2.4.2 |BSD-2-Clause |
|domutils |1.5.1 |BSD-2-Clause |
|Dremio Cache Manager |20.0.0 |Dremio Free Software License 1.0|
|Dremio Fast Threads |20.0.0 |Dremio Free Software License 1.0|
|Dremio Joust Library |20.0.0 |Dremio Free Software License 1.0|
|Dremio Parquet Accelerator |20.0.0 |Dremio Free Software License 1.0|
|Dremio Pushdown Pack |20.0.0 |Dremio Free Software License 1.0|
|Dremio Smart Substitutions |20.0.0 |Dremio Free Software License 1.0|
|Dremio Cache Manager |20.1.0 |Dremio Free Software License 1.0|
|Dremio Fast Threads |20.1.0 |Dremio Free Software License 1.0|
|Dremio Joust Library |20.1.0 |Dremio Free Software License 1.0|
|Dremio Parquet Accelerator |20.1.0 |Dremio Free Software License 1.0|
|Dremio Pushdown Pack |20.1.0 |Dremio Free Software License 1.0|
|Dremio Smart Substitutions |20.1.0 |Dremio Free Software License 1.0|
|dremio-ui-lib |1.0.0 |Unlicense |
|easy-peasy |4.0.1 |MIT |
|EclipseLink |2.5.2 |Eclipse Public License 1.0 & Eclipse Distribution License v. 1.0|
Expand Down
2 changes: 1 addition & 1 deletion distribution/server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>com.dremio.distribution</groupId>
<artifactId>dremio-distribution-parent</artifactId>
<version>20.0.0-202201050826310141-8cc7162b</version>
<version>20.1.0-202202061055110045-36733c65</version>
</parent>

<artifactId>dremio-distribution</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion plugins/adls/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<parent>
<artifactId>dremio-plugin-parent</artifactId>
<groupId>com.dremio.plugins</groupId>
<version>20.0.0-202201050826310141-8cc7162b</version>
<version>20.1.0-202202061055110045-36733c65</version>
</parent>

<artifactId>dremio-adls-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion plugins/awsauth/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<parent>
<artifactId>dremio-plugin-parent</artifactId>
<groupId>com.dremio.plugins</groupId>
<version>20.0.0-202201050826310141-8cc7162b</version>
<version>20.1.0-202202061055110045-36733c65</version>
</parent>

<artifactId>dremio-plugin-awsauth</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion plugins/awsglue/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<parent>
<artifactId>dremio-plugin-parent</artifactId>
<groupId>com.dremio.plugins</groupId>
<version>20.0.0-202201050826310141-8cc7162b</version>
<version>20.1.0-202202061055110045-36733c65</version>
</parent>

<artifactId>dremio-awsglue-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion plugins/azure/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>com.dremio.plugins</groupId>
<artifactId>dremio-plugin-parent</artifactId>
<version>20.0.0-202201050826310141-8cc7162b</version>
<version>20.1.0-202202061055110045-36733c65</version>
</parent>

<artifactId>dremio-azure-storage-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion plugins/common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<parent>
<groupId>com.dremio.plugins</groupId>
<artifactId>dremio-plugin-parent</artifactId>
<version>20.0.0-202201050826310141-8cc7162b</version>
<version>20.1.0-202202061055110045-36733c65</version>
</parent>

<artifactId>dremio-plugin-common</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion plugins/elasticsearch/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<parent>
<artifactId>dremio-plugin-parent</artifactId>
<groupId>com.dremio.plugins</groupId>
<version>20.0.0-202201050826310141-8cc7162b</version>
<version>20.1.0-202202061055110045-36733c65</version>
</parent>

<artifactId>dremio-elasticsearch-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion plugins/gcs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<parent>
<groupId>com.dremio.plugins</groupId>
<artifactId>dremio-plugin-parent</artifactId>
<version>20.0.0-202201050826310141-8cc7162b</version>
<version>20.1.0-202202061055110045-36733c65</version>
</parent>

<artifactId>dremio-gcs-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion plugins/hdfs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<parent>
<artifactId>dremio-plugin-parent</artifactId>
<groupId>com.dremio.plugins</groupId>
<version>20.0.0-202201050826310141-8cc7162b</version>
<version>20.1.0-202202061055110045-36733c65</version>
</parent>

<artifactId>dremio-hdfs-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion plugins/hive-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>com.dremio.plugins</groupId>
<artifactId>dremio-plugin-parent</artifactId>
<version>20.0.0-202201050826310141-8cc7162b</version>
<version>20.1.0-202202061055110045-36733c65</version>
</parent>

<artifactId>dremio-hive-plugin-common</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion plugins/hive-function-registry/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>com.dremio.plugins</groupId>
<artifactId>dremio-plugin-parent</artifactId>
<version>20.0.0-202201050826310141-8cc7162b</version>
<version>20.1.0-202202061055110045-36733c65</version>
</parent>

<artifactId>dremio-hive-function-registry</artifactId>
Expand Down
Loading

0 comments on commit 31bc9b7

Please sign in to comment.