{"size": 557, "ext": "js", "max_stars_repo_path": "Hive/qubole_hive/connectionProperties.js", "max_stars_repo_name": "stagraqubole/tableau-qubole-presto-connector", "max_stars_repo_stars_event_min_datetime": "2019-08-01T20:00:20.000Z", "max_stars_repo_stars_event_max_datetime": "2019-12-19T17:41:11.000Z", "max_issues_repo_path": "Hive/qubole_hive/connectionProperties.js", "max_issues_repo_name": "stagraqubole/tableau-qubole-presto-connector", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "Hive/qubole_hive/connectionProperties.js", "max_forks_repo_name": "stagraqubole/tableau-qubole-presto-connector", "max_forks_repo_forks_event_min_datetime": "2019-08-14T18:24:33.000Z", "max_forks_repo_forks_event_max_datetime": "2020-08-21T06:17:44.000Z"}
{"max_stars_count": 3, "max_issues_count": null, "max_forks_count": 4, "avg_line_length": 24.2173913043, "max_line_length": 65, "alphanum_fraction": 0.6301615799}
(function propertiesbuilder(attr) {
    var props = {};

    props["password"] = attr[connectionHelper.attributePassword];
	props["useS3"] = "true";
	props["skip_parsing"] = "true";

	var server = attr[connectionHelper.attributeServer].split(";");
	props["endpoint"] = server[0];

	var adv_prop;
	for (var i=1; i<server.length; i++) {
		adv_prop = server[i].split("=");
		props[adv_prop[0]] = adv_prop[1];
	}

	var stream  = attr["IsolationLevel"];
    if (stream == "ReadUncommitted") {
        props["stream_results"] = "true";
    }

    return props;
})